Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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