Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-03-31 10:01:40

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 251
Website

[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

#2 2011-03-31 10:27:22

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,538
Website GitHub Twitter

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

#3 2011-03-31 13:47:54

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 251
Website

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

#4 2011-03-31 15:13:50

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,538
Website GitHub Twitter

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

Board footer

Powered by FluxBB