Centred crop

Crops the image to specified dimensions (width and height), keeps proportions and delivers the resulting image via CDN.


If you set both width and height options, you can omit the func=crop option since it is the default operation for this case.


Specifies which part of the image you wish to keep while cropping. If you omit the gravity option, centred cropping is performed.


Available gravity values

eastcentre | center (default)west

Cropped to 270x200


By default, Cloudimage crops the image centrally.

Cropped to 400x290px, keeping the left part


To position the crop, use the gravity operation. Here, gravity=west means that Cloudimage will focus on the left part of the image when cropping.

If you need full cropping control, please see positionable crop.