Cropping in touch UI dialog | Community
Skip to main content
Level 2
January 24, 2018
Solved

Cropping in touch UI dialog

  • January 24, 2018
  • 5 replies
  • 1964 views

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

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 kautuk_sahni

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

5 replies

smacdonald2008
Level 10
January 24, 2018

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

kautuk_sahni
Community Manager
Community Manager
January 25, 2018

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
Level 2
January 29, 2018

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.

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
January 29, 2018

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
Level 2
January 29, 2018

Hi kautuksahni​, Thanks. Will check this component.