Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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!!

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.

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!!