Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-13 23:56:45

Vdogg
New Member
Registered: 2005-11-10
Posts: 5

Image help please

Hey just wondering what the tag is for this. I want a thumbnail image to pop up but when it pops up it will be a different image. I tried <txp:thumbnail id=“blah” poplink=“blah1” /> but the same image comes up. Is it possible to have a thumbnail link to a bigger different picture and if so what is the tag for textpattern.

Thanks

Offline

#2 2005-11-14 00:32:33

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Image help please

You need to attach the thumbnail to the larger image in the image listing. Go to the image listing and find the large image then click on it’s name to go to the detail screen. Underneath the large image you will see a box to browse to a thumbnail. Do that, upload it and save. Now, if you use the id of the large image and add “t” to it (so 55t) you will see the thumbnail image you just uploaded and it poplinks to the large image. Use a tag like so:-

<code>
<txp:thumbnail id=“668t” poplink=“1” alt=“screenshot” style=“border:0” /></code>

Last edited by thebombsite (2005-11-14 00:35:20)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2005-11-14 18:05:07

Vdogg
New Member
Registered: 2005-11-10
Posts: 5

Re: Image help please

Awesome thanks

Offline

#4 2005-11-14 23:33:21

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: Image help please

You actually don’t need the “t” just the id. <txp:thumbnail> adds it on for you.

<txp:thumbnail id="668" poplink="1" alt="screenshot" style="border:0" /> works just fine.

Last edited by hakjoon (2005-11-14 23:42:54)


Shoving is the answer – pusher robot

Offline

Board footer

Powered by FluxBB