Is is possilbe to put images in the tableofcontents tag?

I want to put an image thumb in the table of contents above each repeater title. but when inputting content all of the thumbs are of the same photo:

<ul>
<tableofcontents>
<li>
<img src="<$imagesrc$>" width="141">
<$repeatertitle$>
</li>
</tableofcontents>
</ul>

I also tried achieving this without using the tableofcontents tag with html inside a normal titles:

// table of contents code
<ul>
<repeater>
<li>
<img src="<$imagesrc$>" width="141" />
<$title default="<a href='article1'><h1>contents title</h1></a>" $>
<li>
</repeater>
</ul>

// article code
<repeater>
<$title default='<h2 id="article1">Article Title Goes Here</h2>'$>
<img src='<$imagesrc$>'  width="415px"/>
<$description default='<p>Write your article here</p>'$>
</repeater>

This works fine but the client doesn't want to work with the html. Is there another way? without the html?

fyredefyre fyredefyre, 6 years ago

You can only have one image per repeating item (to date). Any more images simply won't be able to be customized. If you want to add another unique image you'll have to add another repeating item above your existing one, otherwise your only option is to add this manually.

Just remember, the current limitations (cough cough Campaign Monitor) is that repeating items can only have one title, one description and one image.


www.phenom.com.au - Everything Email.
Email: jordan.hunt@phenom.com.au Skype: fyredefyre

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