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


Personalize field for image URL in emails


Level 1

Hi there,


I am creating an email template inside Adobe Campaign Standard which has some images. I would like to personalize the URL of the the images in the src attribute. I have created a custom resource inside ACS which contains a list of product names and their corresponding product image URLs. I would like to have this product image shown in the image element of my email page. I have tried enabling personalization in email designer page for my image element and tried including the product image URL field from my custom resource in the personalization field but that doesn't seem to work.


The code is used in src in img tag in  HTML email is below:

src="" data-nl-imgep-perso-attr-src="<span class="acr-field nl-dce-field" data-nl-expr="/context/targetData/image_link_1" data-nl-type="string" contenteditable="false">Image link 1 (image_link_1)</span>"


The data in the image link 1 field, is "res/xxxx_mkt_stage1/53191771c23cd4c8ea8f8ae7eb8b1a6d8d0d31c76b1110de3a31cd2bf3e86f29.jpg"


Thanks in advance. 

1 Accepted Solution


Correct answer by
Level 1
The img URL works as expected in the sent email , domain + img path. Imagines display finally.

View solution in original post

4 Replies


Employee Advisor

The sample code looks fine to me.

What is the actual behaviour you are experiencing here?

How does the image URL look like in the sent mail?


Correct answer by
Level 1
The img URL works as expected in the sent email , domain + img path. Imagines display finally.


Level 1

Hi All,

I am also facing the same issue i have product links and i want to personalize them on the basis of product purchased by customer.

My src code looks like:-

<td align="center" valign="top" style="font-family:'Trebuchet MS', Arial, Helvetica, sans-serif;font-size:18px;line-height:24px;color:#58585B;text-align:center;padding-top:25px;"><a class="arc-link" data-nl-type="externalLink" href="#" data-nl-lnkep-perso-attr-href=""><img src="" style="display:block !important;margin:0 auto !important;" class="nl-dce-personalized-image responsive-image1 index-imgPersonalizedOverlay--Lfwh5" data-nl-imgep-perso-attr-src-enabled="true" data-nl-imgep-perso-attr-src=";span class=&quot;acr-field nl-dce-field&quot; data-nl-expr=&quot;/context/targetData/purchase_Banner&quot; data-nl-type=&quot;string&quot; contenteditable=&quot;false&quot;&gt;Purchase Banner (purchase_Banner)&lt;/span&gt;.jpg"></a> </td>


I have images hosted on different server.

Can anyone help me on this?