Expand my Community achievements bar.

SOLVED

Cropping in touch UI dialog

Avatar

Level 2

There are two Image widgets in my touch UI dialog, How can i enable cropping feature for two Image placeholders individually.

I have seen the OOTB Image Components under libs/foundation and core/wcm/components both are using in-place editing. Is there any other way to achieve this ??

1 Accepted Solution

Avatar

Correct answer by
Administrator

Have you checked the OOTB adaptive image component. I am able to crop the image.

The Touch UI components are still not to the same level of functionality as Classic. This is workaround!!



Kautuk Sahni

View solution in original post

5 Replies

Avatar

Level 10

The way you mentioned is the OOTB method of performing this use case.

Avatar

Administrator

InplaceEditing is designed for one image at a time, this is how OOTB works.

You may need to implement your custom component for you use-case.



Kautuk Sahni

Avatar

Level 2

Thanks for the confirmation. Looks like I have implement a custom component to achieve this. If you have any example of custom cropping done in touch ui. Can you share? It will be much helpful. Thanks in advance.

Avatar

Correct answer by
Administrator

Have you checked the OOTB adaptive image component. I am able to crop the image.

The Touch UI components are still not to the same level of functionality as Classic. This is workaround!!



Kautuk Sahni

Avatar

Level 2

Hi kautuksahni​, Thanks. Will check this component.