Set image links to open in new window

Hi guys

I have created a template for a client which includes images.  I'd like the image links to always open in a new window ... surely a simple target="_blank" somewhere will do it, but where do I put it?!

The template code looks like this:

<repeater toc='true'>
<h2><$title link='true' default='Enter your title'$></h2>
<p><img src="<$imagesrc link='true'$>" width="490" height="200" /></p>
<$description default='<p>Enter your description</p>'$>
<br />
<div align="right"><p><a href="#" target="_top">back to top</a></p></div>
<br />


fyredefyre fyredefyre, 7 years ago

Any links clicked on via an email should technically open in a new window anyway.I That aside, I can't see anyway of this being done unless the link is created manually. - Everything Email.
Email: Skype: fyredefyre
Mathew Mathew, 7 years ago

As Jordan mentioned, most likely it would just work that way in almost all email clients. Are you testing in an email client where that does not happen?

It isn't possible to define it through the editor unfortunately.

Get in touch with us on Twitter:
We're also on Facebook:
raestanton, 7 years ago

I am thinking more for when readers have clicked on the 'click here to view in a browser' link ... but thanks for your responses anyway.

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

Get started for free