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

SOLVED

How to personalized the image link

Avatar

Level 3

Hello,

 

I am using an image the email but I want to personalized the image link from the data value. For instance, 

 

<a img src="http://www.abc.com/images/email_hero_<%=targetData.ImageLink%>.jpg" width="580" /></a>

 

But it's not working. Any idea?

 

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @alik98709228 - your HTML is incorrect. You don't have a href value for your anchor <a> tag.

Try something like this:

<a href="https://your.link.goes/here"><img src="http://www.abc.com/images/email_hero_<%=targetData.ImageLink%>.jpg" width="580"></a>

Thanks

Darren

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @alik98709228 - your HTML is incorrect. You don't have a href value for your anchor <a> tag.

Try something like this:

<a href="https://your.link.goes/here"><img src="http://www.abc.com/images/email_hero_<%=targetData.ImageLink%>.jpg" width="580"></a>

Thanks

Darren