Expand my Community achievements bar.

How to keep only the src of image when addin image from library in htmlsource input

Avatar

Level 2

Hello everyone, 

I would like some enlightments on how to keep just the src of the image when uploaded via the input in a delivery. The explain further I have an input of htmlsource's type, and when I add an image from the library it's added in the message content as an html tag (<img/>) but I would like to extract it's src/path and assign it to a different xpath. Do you have any idea on how to perform this?

Thanks in advance,

 

1 Reply

Avatar

Level 2

Hi,
It's advisable to upload the image in Campaign in a File Resource folder and then pick the image in the delivery  from where you saved it.

bogdhy_0-1662030346767.png

bogdhy_1-1662030436754.png
Then you can reuse it as many times you'd like. 

/Bogdan