Expand my Community achievements bar.

SOLVED

How to add image component in Dialog in AEM6.2

Avatar

Former Community Member

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