How to add custom aspect ratio to image in AEM6 new UI | Community
Skip to main content
Naidu_Jakkana
Level 2
October 16, 2015
Solved

How to add custom aspect ratio to image in AEM6 new UI

Hi Team,

we have been trying to add another aspect ratio to image component.  There are some default aspect ratios  and those are defined in /etc/clientlibs/granite/coralui/optional/imageeditor/js/imageeditor/plugins/Crop.js

i was trying to add extra aspect ratio here but not getting reflected .  is there any other way to do this ?  

 

 [img]crop.png[/img]

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Naidu_Jakkana
Naidu_JakkanaAccepted solution
Level 2
October 16, 2015

We were able to resolve this by adding new aspect ratios at /etc/clientlibs/granite/coralui2/optional/imageeditor/js/cui-imageeditor.js .

2 replies

wisemage_
Level 2
March 2, 2016

Hi Naidu,

Can you share your "cui-imageeditor.js" ?

Translate
Naidu_Jakkana
Naidu_JakkanaAuthorAccepted solution
Level 2
October 16, 2015

We were able to resolve this by adding new aspect ratios at /etc/clientlibs/granite/coralui2/optional/imageeditor/js/cui-imageeditor.js .

Translate