-
Notifications
You must be signed in to change notification settings - Fork 32
Description
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.
Add a
targetFormat-option to theimageSizes-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.