Skip to main content
Sady_Rifat
New Participant
Sep 8, 2025 2:01 PM UTC
Question

AEM Asset Smart Crop Ratio List

I am working on AEM Assets(AEMaaCS) with AEM Sites(AMS), where I have connected AEM Assets to AEM Sites via the Dynamic Media Open API.

I added the Image V3 component to a page, and in the Smart Cropping section, I see a list of ratios. The issue is that this list is coming from the Image V3 component and is hardcoded. However, I want this list to be generated dynamically from AEM Assets.

How can I achieve this?


 

 


 

2 replies

Employee
Sep 25, 2025 1:10 PM UTC

To make the Smart Cropping ratio list dynamic in your Image v3 component, fetch the smart crop profiles directly from AEM assets dynamic media rather than relying on the hardcoded list. Try querying the asset’s metadata, using either the AEM assets metadata API, the DAM JCR metadata (/content/dam/<asset>/jcr:content/metadata.1.json), or DMwoAPI endpoints. Update your dialog to populate options from these profiles, so authors always see the current smart crops defined in Assets.

Translate
Level 4
Sep 24, 2025 10:11 AM UTC

Hi @sady_rifat ,

I tried to check it, indeed it is hard coded in the dialog. I would suggest to raise this with Adobe in a support ticket.

 

Thanks!

Translate