Expand my Community achievements bar.

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