Cookie control banner

We use cookies to ensure our website works properly, deliver personalised advertising, and collect usage statistics to help us improve the website. You may change your settings at any time or accept the default settings. For more information, please refer to our privacy policy.
Skip to main content

When the fit=fill parameter is used in conjunction with the width and height parameters then the image will be stretched to fit the constraining dimensions exactly. The resulting image will fit within the width and height boundaries without cropping or distorting the image. The remaining space is filled with a background color specified by the background or bg parameter hex value. The resulting image will match the constraining dimensions.


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