Prevent enlargement
Do not upscale an image if target size is larger than the origin image
Disallows image upscaling when resizing with the width or height operations. When resizing, the image can be either scaled down or up depending on the original and target dimensions. If you want to ensure that the image is never upscaled - so the output will not be larger than the original, you can use the org_if_sml parameter.
org_if_sml=1
Examples
Preview
Syntax
Allow upscaling (default): /samples.scaleflex.com/ny_doc.jpg?w=450
Prevent upscaling: /samples.scaleflex.com/ny_doc.jpg?w=450&org_if_sml=1
Last updated
Was this helpful?