Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Hybrid Editor for multiple image cropping

Avatar

Level 3

I'm trying to use hybrid editor for image cropping and need custom aspect ratios to crop the images.

 

I downloaded and installed the sample code provided by Adobe Marketing Cloud using hybrid editors from GitHub https://github.com/Adobe-Marketing-Cloud/aem-authoring-hybrideditors

 

I'm still able to see the default aspect ratio instead of custom aspect ratio. 

Dolly_0-1678265856859.png

Updated:

Aspect ratios specified under Config node of inplaceEditing should appear instead of the default aspect ratio

Dolly_0-1678280804149.png

Also, we will be having Design Dialog so that author can add new Aspect ratios at the component level like below

Dolly_1-1678281654126.png

 

 

 

Thanks in advance

 

 

4 Replies

Avatar

Community Advisor

Hi @Dolly ,

I found some articles which can definitely help you to understand more about it.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-assets/asset-editor-croppi...

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-1-touch-how-to-set-a...

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-add-custom-aspect-r...

Please let me know if this helps.

Also, it would be great if you can mention the AEM version you are trying to. because the article you mentioned is for AEM 6.3.

Thanks

 

Avatar

Community Advisor

There are a lot of differences between AEM cloud and 6.3. I think you should use your custom logic for this. the main thing is structural changes after 6.5 and cloud. so better is if you look for something for the cloud or write custom logic.