Skip to main content

Page last updated 07 October 2026

When the fit=contain parameter is used in conjunction with the width and height parameters then the image will be scaled to fit within the width / height boundaries without cropping, distorting or altering the aspect ratio. The image will be scaled up if it is smaller than the output size.


A 250 pixel wide copy of the coastal landscape scaled up to 500 pixels wide, appearing soft

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request