Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-04-26 21:45:06

caruso_g
Member
From: Catania
Registered: 2009-04-11
Posts: 88
Website

list all images without the link

Hi all,
I need to list all images from two different images categories in home page. I have two categories, “clients” and “partners”, and in partners a main partner one (i.e. to show apart).
I was trying to use:

<txp:image_index c="partner" wraptag="ul" break="li" />

but it creates me a list to the category that I just don’t need.
Is there a way to accomplish that without the link to the category?

Or do you think it would be better to just create a series of articles where clients/partners logos are the article_images?

Thanks.

Offline

#2 2009-04-26 22:10:57

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

Re: list all images without the link

Try wet_for_each_image, it lets you do something like this:

<txp:wet_for_each_image category="partner">
<txp:thumbnail id="{id}" />
</txp:wet_for_each_image>

Offline

#3 2009-04-26 22:35:57

caruso_g
Member
From: Catania
Registered: 2009-04-11
Posts: 88
Website

Re: list all images without the link

Els,
you are great!
Just what I need. ;)
Thanks so much.

Offline

Board footer

Powered by FluxBB