Skip to main content

The crop mode defines how the image should be scaled and aligned when the fit=crop parameter is set. The width and height parameters set both the crop dimensions and initial resize of the image. This crop mode ensures the image is always cropped to the exact dimensions specified, and results in some of the original image being cut off.

Valid values for the crop position are top, bottom, left, right. If no value is explicitly set, the default behavior is to crop from the center of the image.


Crop from center

Crop from top

Crop from right

Crop from bottom

Crop from left

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