webversion links and images

Just thought I'd throw this one in here, as it might be something that trips someone else up...
If you can't get the webversion link to wrap around an image tag, it might be because you have the 'editable="true"' attribute in your img tag which, apparently, does not work.

When you do that, it breaks the image out of the webversion tag, and leaves an empty link tag, followed by the image tag eg

<a href="http://webversion"></a>
<img src="xxx.jpg" />

When you preview this in your email it can look like there is no link at all, but if you check the source, you'll see something similar to the above.

It makes sense why this happens when you consider that an editable image can also have a link wrapped around it, so the image tag therefore 'breaks' out of the webversion link, so its own link tag will work - if its added.

roshodgekiss roshodgekiss, 3 years ago

Hi crunch, thank you so much for sharing this! Yes, you're right - the editable image can often come with an <a> tag of its own, so if it's surrounded by the <webversion> 's own <a> tag, bad things happen. We should probably look at a more graceful way to handle this situation, so thanks for letting us know, too :)


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
Fionnuala Fionnuala, 3 years ago

Hey crunch - just a quick update here! Rather than surrounding your editable image with the <webversion> tag, inserting the link via the campaign editor as [webversion] should pull through the correct web version link on the image.

Hope that makes sense, but if you run into any issues, feel free to drop us an email at support, and we'll be happy to take a look at your campaign.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098