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