Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[textile] Image links to a image
Hello, I’m using pirobox js gallery plugin, and I need to have an image (a thumbnail) linked to another image.
Something like this:
!(pirobox)images/45t.jpg!:!images/45.jpg!
For some reason, the interpreter does not convert the second part of the expression. Is this feasible with some hack?
Thanks…
Offline
Re: [textile] Image links to a image
Hi testing make that the resulte muste be :
"!(pirobox)images/45t.jpg!":/images/45.jpg
using a textile tester : http://textile.sitemonks.com
Is this is qhat you want?
Last edited by Dragondz (2011-03-31 10:28:12)
Offline
Re: [textile] Image links to a image
That works great, thanks Dragon
Could I also bring the class attribute to the surrounding tag?
Something like "!images/45t.jpg!":(pirobox)/images/45.jpg
Last edited by Manaus (2011-03-31 14:11:03)
Offline
Re: [textile] Image links to a image
hi
"(pirobox)!images/45t.jpg!":/images/45.jpg
the code above give the class to the <a> attribute
Et bon courage
Last edited by Dragondz (2011-03-31 15:17:53)
Offline