How to personalized the image link

Avatar

Avatar

alik98709228

Avatar

alik98709228

alik98709228

03-03-2021

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!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Darren_Bowers

MVP

Avatar

Darren_Bowers

MVP

Darren_Bowers
MVP

03-03-2021

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

Answers (0)