DAM editing snapshot I need to add some more fixed aspect ratio cropping shapes to my AEM 6 SP3 DAM editor (e.g. 4:3, 3:4, 9:16). There need to be a configuration option, but a cannot find something to customize this. Maybe someone of you guys have had the same problem as me and can tell me about the solution.
Asked
Active
Viewed 883 times
1 Answers
2
I found a way to solve this problem. If you want to have custom aspect ratio in your crop options drop down, you just need to overwrite the /etc/clientlibs/granite/coralui2/optional/imageeditor/js/cui-imageeditor.js in your project. The options for the drop down are hardcoded in this js file. see custom crop options
The next problem will come with an update to AEM 6.1. The file cui-imageeditor.js wont exist anymore. Just a dummy file will appear in the same directory... dummy file am 6.1

Tim
- 287
- 1
- 13
-
There is another post that discusses how to do it in AEM 6.3 here, https://forums.adobe.com/message/9868589 – Cris Rockwell Oct 05 '17 at 16:48
-
Thanks @CrisRockwell I will check that out. – Tim Oct 08 '17 at 18:37