Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Outputting Image URL within Anchor
I’m trying to get the following by using the Textpattern interface, but I’m having some trouble figuring it out. I’m going to be using Cabel’s FancyZoom to provide a way for users to zoom in on thumbnails. I’m generating the thumbnails with Txp’s article image feature. The problem is the FancyZoom requires a link to a larger image within the anchor, but I can’t figure out how to output just the image URL with <txp:article_image />.
Here’s how I’d like to see the code in the end:
<a href=“IMAGE_URL”>
<img src=“THUMBNAIL_URL” />
</a>
Here’s the Txp:
<a href=”???”>
<txp:article_image />
</a>
FancyZoom is very similar to Lightbox in its implementation, but I can’t seem to figure this one out in order to get it to work with Txp.
Any help is appreciated!
Last edited by surfwax95 (2008-07-10 19:01:57)
Caps lock is cruise control for cool. —Unknown
Offline
Re: Outputting Image URL within Anchor
Check out upm_image for article images. Actually, I think smd_slimbox could work too – it accepts other lightbox-ish scripts.
Offline
Re: Outputting Image URL within Anchor
hak_article_image should do this pretty easily too <hak_article_thumb link="1" linktype="image" />
Last edited by hakjoon (2008-07-10 21:15:13)
Shoving is the answer – pusher robot
Offline
Re: Outputting Image URL within Anchor
hakjoon,
That’s exactly what I needed, thanks!
jm,
Thanks for those recommendations, I’m actually using them as well. Thanks for your help.
Last edited by surfwax95 (2008-07-11 15:56:46)
Caps lock is cruise control for cool. —Unknown
Offline
Pages: 1