Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
How to link the article image's thumbnail to original
Hi everyone,
When I use the thumbnail tag, I can link it to the original image with link=“1”. Can I do that with the article image? I understand that I can write thumbnail=“1”, but I can’t add _link=“1”. How would I do that??
Thanks for your help in advance. Let me know if I’m not being clear.
PS to the Dev’s, the new Textpattern website is so much nicer.
Offline
Re: How to link the article image's thumbnail to original
Maybe there is a way to do it without a plugin,
but I recommend you to use smd_gallery (+ smd_lib)
and then your code will be:
<txp:smd_gallery id="?article_image" limit="1">
<a href="{url}" title="{caption}"><img src="{thumburl}" alt="{alt}" /></a>
</txp:smd_gallery>
Offline
Re: How to link the article image's thumbnail to original
In soo_image it would look like this:
<txp:soo_image link="1" />
so long as it is in an article form.
Other image plugins would give you still more options.
And yet another is to run the latest development release of Txp: it has some new image tags built in. But these might still be due for significant changes before the next release version.
Code is topiary
Offline
Re: How to link the article image's thumbnail to original
Thanks! I’ll check these both out.
Offline