Crop
Resize and crop to achieve the desired width and height
Crops the image to specified dimensions (width and height) while keeping proportions and delivers the resulting image via CDN.
func=crop
This is the default resizing mode when both width and height operations are used. You do not need to specify func=crop explicitly.
Examples
Gravity
Specifies which part of the image you wish to keep while cropping. If you omit the gravity option, central cropping is performed.
gravity=X
Available gravity values
northwest | north | northeast |
west | center | centre (default) | east |
southwest | south | southeast |
auto - more info | face - more info | smart - more info |
X,Y - more info |
Examples
Last updated