Details
-
Bug
-
Status: Closed
-
High
-
Resolution: Cannot Reproduce
-
2.22.14
-
None
-
None
Description
When an image is created with a variant which has a width or height of 0, the image is saved as the original.
For example when the thumbnail is configured as follows: height: 60, upscaling: false, width: 0. The created thumbnail will have the same sizes as the original image.
It seems that the calculateResizeRatio of the ScaleImageOperation isn't returning the correct ratio in this case.
Attachments
Issue Links
- is a result of
-
CMS-5985 Unbounded upscaling of images doesn't work
- Closed