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

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

vasimakram
Level 4
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
kautuk_sahni
Correct answer by
Community Manager
Community Manager

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

View solution in original post

3 Replies
smacdonald2008
Level 10
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

kautuk_sahni
Correct answer by
Community Manager
Community Manager

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

View solution in original post