Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-01-29 18:38:37
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Thumbnail from 1 photo
Hello,
On my site on some pages there is one ot two photo’s.
Now i wondering, it is possibe to place a thumbnail on the page and when the user click on it that a pop-up with the normal photo can be seen ?
Roelof
Offline
Re: Thumbnail from 1 photo
Wayward thoughts on the Buddhist Way: thinkbuddha
Offline
Re: Thumbnail from 1 photo
Or you could just use the standard TXP tag – <code><txp:thumbnail id=“695t” poplink=“1” alt=“my lovely photo” style=“border:0” /></code>, “style” is optional.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#4 2006-01-30 14:35:27
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: Thumbnail from 1 photo
Thank you,
But what if a want to place a photo in a article.
Normally you use then <code> </code>
Roelof
Last edited by roelof (2006-01-30 14:36:20)
Offline
Re: Thumbnail from 1 photo
You can use both of those methods will insert the thumbnail in the article with the javascript to open it up in a popup. Both can be used in the article itself (don’t need to be in a page or form)
You can reference the thumbnail by appending a t
to the id number if you want to do it by hand <img src="6t.jpg" alt="" />
. You could then write the javascript to open up the full size image in a popup.
upm_img_popper is probably the easiest method.
Shoving is the answer – pusher robot
Offline
Re: Thumbnail from 1 photo
You can use <code><txp:thumbnail /></code> in an article. I use it for my TXP templates pages. You can use the HTML tags, but as hakjoon says, you will then need to add your own “pop-up” javascript which seems a bit pointless when TXP already has it built-in.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#7 2006-01-30 18:27:11
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: Thumbnail from 1 photo
Sorry for the confusion
What i mean is that i use ump-img-popper.
I can put in the picture (thumbnail) on the right place but now i wonder how i can make a popup the whole picture with this plugin.
Offline
Re: Thumbnail from 1 photo
A good question which I can’t answer because I don’t use it. You need someone else with the experience for this. ;)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Thumbnail from 1 photo
I think I got you on the other thread, but just in case. Just choose the popup option in upm_img_popper and it will insert the thumbnail with a popup to the larger version.
Shoving is the answer – pusher robot
Offline
#10 2006-03-20 12:01:51
- apo
- Member
- From: Germany
- Registered: 2004-10-27
- Posts: 53
Re: Thumbnail from 1 photo
thank you for this one :-) didnt know its built in and that easy
thebombsite wrote:
Or you could just use the standard TXP tag – <code><txp:thumbnail id=“695t” poplink=“1” alt=“my lovely photo” style=“border:0” /></code>, “style” is optional.
Offline
Pages: 1