Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Get available smart crop renditions for an asset in Java


Level 2

I'm trying to get a list of valid smart crop renditions for an image in my AEM Java code. I can get the standard static renditions (e.g. thumbnails) by adapting the resource to the Asset interface but this does not tell me the valid smart crop options the image has. Does anybody know how I can get these in Java ?

1 Reply


Level 4

The smart crop feature is specific to AEM Dynamic media, and renditions are pulled directly from the DM cloud. Under CRX, the asset metadata would not show smart crop renditions. For generating the smart crop URL for an asset, apply the processing profile[0] on the folder first and then upload assets. Once assets are processed under the Renditions section, you'll see the Smart Crop option, and if the asset is published, the option to generate the URL will show up.