Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Linking to an Article Image
Hi all, first post here. I just started using textpattern and I’m really loving it.
I’m just finishing up a site that has several product lists, with each product posted as an article. A product thumbnail displays on the page, and I want to be able to link each thumbnail to its corresponding full-sized image. However, I can’t find the right tag to do it. <txp:article_image> would be perfect if there were some way to not have the “img src” preceeding it in the output. Any help is much appreciated, thanks!
This is the code I have right now:
<dl class="product">
<dt>
<a href="*not sure what txp tag to put here*" target="_new">
<txp:article_image thumbnail="1" />
</a>
<txp:title />
</dt>
<dd>
<txp:body />
</dd>
</dl>
Offline
Offline
Re: Linking to an Article Image
That worked perfectly! Thanks a bunch for your help!
Offline
Pages: 1