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

How to add image component in Dialog in AEM6.2

Avatar

Level 3

Hi,

I am trying to add image from the dialog and it is not appearing in the page.

Can you please suggest how to add Image component in dialog in AEM6.2.

Please find below screenshots for reference.

1. If phone is avilable,We have to show the image

<div data-sly-test="${properties.phone}">

                           <img class="imgPhIcon" src="${properties.imageToShow}" alt=""><a class="phoneText">${properties.phone}</a>

</div>

2. Componet Dialog below:

1240207_pastedImage_0.png

Regards,
Sandhya.

1 Accepted Solution

Avatar

Correct answer by
Level 10
1 Reply

Avatar

Correct answer by
Level 10

See this article - where we are adding images and videos --

Scott's Digital Community: Creating an AEM HTML Template Language movie component