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.
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
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?
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
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="http://ifb-mkt-prod1-res.adobe-campaign.com/res/ifb_mkt_prod1/726ce0f5534bc0a7b46a8d8037448949.jpg" 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="https://imagestore.ifbhub.com/banners/<span class="acr-field nl-dce-field" data-nl-expr="/context/targetData/purchase_Banner" data-nl-type="string" contenteditable="false">Purchase Banner (purchase_Banner)</span>.jpg"></a> </td>
I have images hosted on different server.
Can anyone help me on this?
Regards,
Shubham
Views
Replies
Total Likes