Cloudimage - Documentation

Automatic smart crop

Sets the crop focal point on the people in the image or the most prominent featues (if no faces are detected). Useful for creating thumbnails from images with different aspect ratios.

gravity=smart

Legacy automatic gravity

If you prefer to use the legacy automatic crop, just set gravity operation to auto. Using gravity=face, the crop focuses on the face on the image.

gravity=auto

Face gravity

When using gravity=face, all images with one dominant face are focused on this face upon cropping. If there are many or no faces in the image, gravity falls back to auto.

gravity=face