Cloudimage - Documentation

Prevent enlargement

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

A 400-pixel-wide image resized to 450 pixels

/v7/sample.li/ny_doc.jpg?w=450

Same resize, enlargement not allowed

/v7/sample.li/ny_doc.jpg?w=450&org_if_sml=1