Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-10-18 08:47:19
- matgorb
- Member
- Registered: 2005-06-12
- Posts: 31
A pseudo photo gallery with no plugin?
I have picture that I organize in categories.
Is it possible to display in an article all the picture from a given category without a plugin?
What I do is article about travel story, for example Beijing, and I have 5-6 pictures related to it.
I put this pictures in a category called “traveltobeijing”, and right now the only way to have a pseudo gallery is to put the <txp:thumbnail> of every images, is there any way to retrieve all the thumbnails through someting that in my mind would be <txp:thumbnail category=“traveltobeijing” limit=“6”>?
Offline
Re: A pseudo photo gallery with no plugin?
It should be possible.
Oh, and: wrap code and TXP tags in HTML code elements or @-signs.
Last edited by andreas (2005-10-18 15:38:57)
Offline
#3 2005-10-19 09:30:40
- matgorb
- Member
- Registered: 2005-06-12
- Posts: 31
Re: A pseudo photo gallery with no plugin?
This is not explicit so I will state it here:
To get a gallery of thumbnails from a particular category in an article add a c=“category_name” in the txp:image_index
<txp:image_index c="category_name" />
Thanks andreas.
Last edited by matgorb (2005-10-19 09:31:07)
Offline
Pages: 1