-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add more resize modes #85
Comments
IMHO "color" should also include transparent. From my own experience with customers I'd also suggest the option to "blow up" images beyond their original size. I know it might look absolutely crappy but "normal" users are often not able to provide images for news or events that meet the minimum required resolution to fit nicely into the layout. |
We decided against this feature as it unnecessarily increases the network traffic. The upscaling should happen on the client side. See also #48 (comment)
Agreed. And |
A version of |
You can even do that with the image itself, see contao/contao#3347 (comment) |
I think adding a solid background color should not increase the image size too much as most image formats can compress such things very good. |
Should we add more resize modes like a version of
box
that adds a background color to the image to get exactly the configured size?A general background color setting might be useful for other cases too like converting images with transparency to JPEG.
/cc @bennyborn
Related: contao/contao#3347
Are there other resize modes that might be useful?
The text was updated successfully, but these errors were encountered: