Personalize field for image URL in emails
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="http://xxxx-mkt-stage1-res.adobe-campaign.com/" data-nl-imgep-perso-attr-src="http://xxxx-mkt-stage1-res.adobe-campaign.com/<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.