Cloudinary Media Developer study materials
Cloudinary Media Developer study resources

Fill mode without automatic gravity

Cloudinary Media Developer · Put your knowledge to work in context.

All case studies

Fill mode without automatic gravity

A fictional team needs a landscape product-card image from a portrait source. The supplied requested box is400by300pixels, and the current transformation uses a fill crop without automatic subject gravity. A test preview centers the crop and removes a relevant product feature near an edge. A colleague says c_fill alone guarantees detection of the most interesting content, while another proposes selecting an appropriate supported gravity and checking representative output. This written exercise sends no transformation request and changes no asset. It asks the learner to distinguish the dimensions/crop mode from the retained-region decision and to avoid treating one automated crop or one representative input as a perfect guarantee for every product image.

1. Which decisions must remain separate?

Read the worked answer

Fill mode targets the requested box and cropping behavior; gravity affects the retained region. Automatic subject selection is not implied solely by c_fill.

2. What should the review validate?

Read the worked answer

Use the intended supported crop/gravity arrangement and check actual product visibility, dimensions, aspect ratio and representative inputs. Preserve a suitable fallback when detection does not match visual intent.