Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2011-02-12 03:45:17
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Images in TxP version 4.0.6
How can I do in TxP version 4.0.6 something like this <txp:images category="xy" limit="10" sort="rand()" wraptag="ul" break="li" />
, which would work in version 4.3?
Does anyone remember that?
Offline
Re: Images in TxP version 4.0.6
You could either use a plugin or do it in raw PHP using the <txp:php>
tag or use the <txp:image_index>
tag if you want to display thumbnails.
Do you have a good reason not to upgrade?
Offline
#3 2011-02-12 13:36:06
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: Images in TxP version 4.0.6
Do you have a good reason not to upgrade?
I make on that website only some patches and there are complex dependencies of edited and outdated plug-ins.
(…) use the
<txp:image_index>
tag if you want to display thumbnails.
No, I need the big photos.
(…) do it in raw PHP using the
<txp:php>
tag …
No idea how I could do it, how to query the database … :-(
Offline
Re: Images in TxP version 4.0.6
Should be some gallery plugins compatible with 4.0.6.
Code is topiary
Offline
#5 2011-02-12 14:14:14
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Images in TxP version 4.0.6
wet_for_each_image together with upm_image, code examples here.
Offline
#6 2011-02-12 14:27:33
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: Images in TxP version 4.0.6
Can this cause any damage in the db if I try it with soo_image? PHP version is 5.2.6.
Offline
#7 2011-02-12 14:31:11
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: Images in TxP version 4.0.6
Els schrieb:
wet_for_each_image together with upm_image, code examples here.
Oh yes, this plug-in I had forgotten. I will look at the details.
Offline
#8 2011-02-12 21:14:42
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: Images in TxP version 4.0.6
wet_for_each_image is the solution, thanks.
Offline
Pages: 1