AEM 6.1 Touch UI: how to configure aspect ratios for cropping images? | Adobe Higher Education
Skip to main content
October 16, 2015
Répondu

AEM 6.1 Touch UI: how to configure aspect ratios for cropping images?

If I edit an image component (e.g. http://localhost:4502/editor.html/content/geometrixx/en/products.html, the "Triangle"), I get a selectbox with aspect ratios (Free Hand, 2:3, Square, ...). How can I add/delete aspect ratios to this selectbox?

Thanks,
Anne

Ce sujet a été fermé aux réponses.
Meilleure réponse par smacdonald2008

Here is a pic of the nodes - other one disappeared: 

Hope this helps.... 

13 commentaires

smacdonald2008
Level 10
October 16, 2015

Here is the screenshot of a cropping operation in AEM: 

[img]crop.png[/img]

See this older community thread that talks about this. 

https://forums.adobe.com/thread/1068345

Hope this helps point you in the right direction. 

Lokesh_Shivalingaiah
Level 10
October 16, 2015

Hi Anne, somehow I am not able to see that option ! can you share a screenshot so that we get to know what exactly it is

smacdonald2008
Level 10
October 16, 2015

Here is the nodes that need to be modified for this use case: 

[img]croppingNodes.png[/img]

October 16, 2015

You have to go to fullscreen modus while editing the image to see this options.

October 16, 2015

Hm no, this does not help. It seems the path /libs/dam/gui/content/assets/crop/items/actionbarcontainer/items/default/items/aspectratio/items mentioned in this older thread does not exist in AEM 6.1
And also if it would exist: in a classic dialog I can add different cropConfig to each image widget in a dialog. And I need different cropConfigs for different components so it would not help to extend the central aspect ratios under /libs or somewhere else. I need a per component solution as in classic UI.

 

Thanks for your answer anyway :)

smacdonald2008
Level 10
October 16, 2015

I will search for this answer within Adobe.

smacdonald2008
Level 10
October 16, 2015

There is an example in Adobe - i will write up a community article and post here ASAP. 

October 16, 2015

That would be great! We have the same problem. Thanks!

October 27, 2015

The image seems to be broken, could you please provide the path to the node? Thanks a lot!

January 21, 2016

Are there any updates on how to configure the aspect ratios?