Expand my Community achievements bar.

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
2 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.