Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-01-27 18:12:56

Addison
Member
From: Flowood, Mississippi
Registered: 2004-08-30
Posts: 34
Website

Create category-based image list without links

I’ve searched for help on this with no luck. Is there any way to produce a list of images (not a gallery) simply based on category? The <txp:image_index> is exactly what I need, but I’d like to suppress the links that are created.

I’m working on a site that wants to list sponsor logos — I figured the easiest setup was to assign a category to logo images as they’re uploaded…

Thanks,
Addison

Offline

#2 2008-01-27 19:05:43

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Create category-based image list without links

Have a look at wet_for_each_image. From the plugin help:

Sample use
<txp:wet_for_each_image category="events" /> Displays all images contained in the “events” category by employing txp:image – the default behaviour.

Offline

#3 2008-01-27 19:58:32

Addison
Member
From: Flowood, Mississippi
Registered: 2004-08-30
Posts: 34
Website

Re: Create category-based image list without links

Thank you, Els. I overlooked this assuming it was a “wet floor” plugin for applying image effects — it’s exactly what I need.

Offline

Board footer

Powered by FluxBB