Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Displaying an image by giving a html property in TouchUI dialog.

Avatar

Level 4

I am able to display an image statically using displayfield xtype and setting fieldDescription property value as <img src="path of the image from DAM">  in classic UI. How to reproduce the same in Touch UI?

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi 

Please have a look at this Adobe AEM Helpx article:- 

Link:- https://helpx.adobe.com/experience-manager/using/creating-touchui-validate1.html

// In this article user is shown a color picker dialog box for selection of color. on the same principles you can create a dialog box showing image for your case.

~kautuk



Kautuk Sahni

View solution in original post

3 Replies

Avatar

Level 10

See this 6.2 HTL artilce - we are displaying images in a TOuch UI component: 

https://helpx.adobe.com/experience-manager/using/htl_movie62.html

Avatar

Level 10

If you mean displaying the image in the actual dialog - you can use JQuery to build a custom view in the Touch UI dialog. See how we built a custom Color Picker here using JQuery: 

http://scottsdigitalcommunity.blogspot.ca/2016/03/how-to-create-aem-touch-ui-color-picker.html

Avatar

Correct answer by
Administrator

Hi 

Please have a look at this Adobe AEM Helpx article:- 

Link:- https://helpx.adobe.com/experience-manager/using/creating-touchui-validate1.html

// In this article user is shown a color picker dialog box for selection of color. on the same principles you can create a dialog box showing image for your case.

~kautuk



Kautuk Sahni