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

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

  • October 16, 2015
  • 2 replies
  • 1805 views

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.
Best answer by Naidu_Jakkana

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_
New Participant
March 2, 2016

Hi Naidu,

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

Naidu_Jakkana
Naidu_JakkanaAuthorAccepted solution
New Participant
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 .