-
-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When rendering thumbnails, configure target format #2320
Comments
What? I didn't knew that we use the input as output format. But
Aside from the WebP case, I doubt someone really wants to have TIFF thumbnails.
Should be easily doable in the ImageService. |
For WEBP a newer version of imagine (>1.0.0) is needed that includes this php-imagine/Imagine#504 |
I would consider it equally important to be able to control the format for each image that is created by Neos.Fusion:ImageUri , Neos.Media:ImageViewHelper or even the ThumbnailGenerator to support cases like this
|
Feel free to take this, everyone… |
A pr for the imagine update already exists neos/imagine#15 |
Description
When rendering thumbnails, currently the input format is used as output format. I.e. when a WebP image is uploaded, any variant will also be a WebP image.
Sometimes it might be desired to render variants as JPG or PNG, e.g. when a larger WebP or TIFF is uploaded for later download, but previews should be viewable in any client (regardless of their ability display WebP or TIFF).
This could either be achieved by an option to pass when fetching a thumbnail for display (Fluid, Fusion, …) or by a setting that affects all created variants (of a certain type).
The text was updated successfully, but these errors were encountered: