Skip to main content

Cookie settings

We use cookies to ensure the basic functionalities of the website and to enhance your online experience. You can choose for each category to opt-in/out whenever you want.



Analytics and statistics


This proposal has been implemented

  • Developed by Codi Tramuntana

  • Available in release 0.29 via #12383

Add webp format for images

Avatar: CodiTramuntana

The webp format is not accepted as a variant in ActiveStorage by default so, although the system does not break if you upload an image in .webp format, it is not accepted either.
ActiveStorage does not have this extension by default to be able to create variants with this content type.
The proposal is to add this extension in ActiveStorage through an initializer like in this PR:

Furthermore, since this extension is already accepted by most current browsers:

This format could be accepted when uploading images on the entire Decidim platform.

Here are some issues related to this topic:

The PR of the feature is here:



Please log in

The password is too short.