You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2026. It is now read-only.
When uploading images to a content platform, I might want imagemagick to automatically convert them to Google's image format, WebP for faster loading times.
Proposed solution
I would love to have the option to let imagemagick convert a file to another format, preferably WebP.
Add a targetFormat-option to the imageSizes-array to allow setting a target format (jpg, webp) for automatically resizing and converting the image in one go. That way, we would be able to use 2 image sizes for the WebP-converted image, and 2 image sizes for the JPEG-original (but resized) format to use as fallback for older browsers who do not yet support WebP.
Alternatives
Perhaps it is easier to use a postprocessor? Would love someone's opinion on this.
Additional context
Trying to fit all pieces together that are (imo) necessary for turning ApostropheCMS into the best possible JS-powered digital experience platform.
The problem to solve
When uploading images to a content platform, I might want imagemagick to automatically convert them to Google's image format, WebP for faster loading times.
Proposed solution
I would love to have the option to let imagemagick convert a file to another format, preferably WebP.
Alternatives
Perhaps it is easier to use a postprocessor? Would love someone's opinion on this.
Additional context
Trying to fit all pieces together that are (imo) necessary for turning ApostropheCMS into the best possible JS-powered digital experience platform.