Prevent enlargement
Do not upscale an image if target size is larger than the origin image
Last updated
Do not upscale an image if target size is larger than the origin image
Last updated
Copyright © 2023 Scaleflex
When resizing with width or height operation, Cloudimage either reduces or increases the dimensions of the image to keep proportions. To prevent the image from getting resized to a bigger size than the original, use the org_if_sml operation.
org_if_sml=1
Preview | Syntax |
---|---|
Allow upscaling (default): /sample.li/ny_doc.jpg?w=450 | |
Prevent upscaling: /sample.li/ny_doc.jpg?w=450&org_if_sml=1 |