Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

How to set some image as a default for image component in AEM

Avatar

Level 1

Hi,

As part of one of my requirement, I need to create a dialog enabling author to drag and drop an image of their choice. As part of the requirement, dialog should load one image as a default image always and then author will update the image as per their need.

Can someone help me out that how can I set one image to appear as a default image on dialog load or which property do I need to specify for making a default image to appear.

Please revert, if more information is needed. Thanks in advance.

Regards,

Mahendra

1 Accepted Solution

Avatar

Correct answer by
Level 10
3 Replies

Avatar

Correct answer by
Level 10

Avatar

Level 10

You can develop a component so that an author can drag images from the Content Finder. We have a community article that will get you up and running with this use case: 

https://helpx.adobe.com/experience-manager/kb/creating-cq-widget-supports-image.html

Now for setting the default image, look at the various reference documentation. 

Avatar

Level 1

Hi Mahendra_y,

Have you implemented this one? If yes please give me the implementation steps?

 

and the above Link is not working which is shared by @Sham_HC.

Everyone, Kindly give me the solution for this.

Thanks in advance.