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

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

How to customize Image Reference path to the Jcr:content ?

Avatar

Community Advisor

Hi,

I've a requirement where I need to customize Image reference path. For example, I've a image component in the page and drag & drop the image (/content/dam/email-logos/colorpicker.jpg) on to the Image icon. Then the image reference will be stored to the page jcr:content as shown below:

Page

    jcr:content

        image  (fileReference   ---- String     ------ /content/dam/email-logos/colorpicker.jpg)

But, I want to customize the image path (For example /content/dam/email-logos/colorpicker.jpg to test.com/colorpicker.jpg) and store it to the content.

So, what is the servlet/jsp that is invoked to the store the image path the jcr;content.

 

Thank In advance

Siva

0 Replies