Use Fit and Fill to resize images to fit within a specific size box, then apply a blurred version of that same image to fill any transparent space at the edges.
For example, if you have the following image that you want fit into a box on your web page:
You can use the Fit and Fill transformation to maintain the image's aspect ratio while reducing its size to fit into the box.
For a usage example, see Reduce an image to fill a shape.
To generate the same results using the Image and Video Manager Query Language, append the following to your image URL:
If you add the IMQuery transformation to a policy, use the
im variable, and select Fit and Fill, you can use a query string to resize any image using this policy. See Syntax and Examples for the syntax for the query string parameter.
Updated over 1 year ago