Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-11 17:47:48

brighthearted
New Member
Registered: 2005-11-21
Posts: 8

Best Practice for outputting a list of thumbnail links

Hello,

I think what I want is so simple, that it’s boggling my mind.

As I’m new to TxP I’m not sure yet the best way of achieving my goal. Below is static code that I created by hand, that I would like to turn into an automated task for a client to add another thumbnail link through the TxP CP.

<code><a href=“1.jpg”><img src=“1_thumb.jpg” /></a>
<a href=“2.jpg”><img src=“2_thumb.jpg” /></a>
<a href=“3.jpg”><img src=“3_thumb.jpg” /></a>
————————————-
</code>

Basically just a list of thumbnail-links.

The client will be adding the photos themself, so it’d be great if we could utilize TxP’s built in resizer, etc…

I tried using TxP’s “image” tags, but couldn’t get anything to work. You can view the page that this is for at the following URL

<a href=“http://aaron.brighthearted.com/gallery/”>http://aaron.brighthearted.com/gallery/</a>

Last edited by brighthearted (2006-08-11 17:53:15)

Offline

#2 2006-08-11 18:42:39

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,393
Website GitHub Mastodon

Re: Best Practice for outputting a list of thumbnail links

Recommended plugin: upm_image.

Offline

#3 2006-08-11 22:22:44

brighthearted
New Member
Registered: 2005-11-21
Posts: 8

Re: Best Practice for outputting a list of thumbnail links

Seems like a great plugin, but I’m still lost. Do I place these tags in the page? In a form? If in a form, which tag do I use in the page to call in this form… I’ve uploaded images through TxP and then tried to add the following tags in my page, and nothing is added… it basically ignores it.

<code>
<txp:upm_image />
<txp:image_index />
<txp:image_display />
<txp:image />
</code>

I’m just confused as to what goes where. This is the first place that I’ve ran into confusion with TxP, everything else has seemed very intuitive.

Any help will be greatly appreciated.

Last edited by brighthearted (2006-08-11 22:23:31)

Offline

Board footer

Powered by FluxBB