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
BedrockMission!

Learn More

View all

Sign in to view all badges

Personalize field for image URL in emails

Avatar

Avatar
Level 1
Lei-Wang1
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Lei-Wang1
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile
Lei-Wang1
Level 1

30-03-2021

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. 

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Give Back 5
Employee
ramon_bisswange
Employee

Likes

243 likes

Total Posts

353 posts

Correct Reply

182 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 25
Give Back 10
Give Back
View profile

Avatar
Give Back 5
Employee
ramon_bisswange
Employee

Likes

243 likes

Total Posts

353 posts

Correct Reply

182 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 25
Give Back 10
Give Back
View profile
ramon_bisswange
Employee

05-04-2021

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?