Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[SOLVED] txp:images offset doesn't seem to be working
using this tag in an article form. there are three image id’s in the article image field in the article.
<txp:images thumbnail="1" limit="0" offset="1" form="gallery-enlarge-hidden" />
generates this in debugging mode. problem is that it should offset the first image, and the query should only pick up 2 images. what am i missing?
<txp:images thumbnail="1" limit="0" offset="1" form="gallery-enlarge-hidden" />
[SQL (6.6995620727539E-5): select * from txp_image where thumbnail = 1 order by name ASC ]
[SQL (5.5074691772461E-5): select Form from txp_form where name='gallery-enlarge-hidden']
[Form: gallery-enlarge-hidden]
<txp:image_url />
[Form: gallery-enlarge-hidden]
<txp:image_url />
[Form: gallery-enlarge-hidden]
<txp:image_url />
Offline
#2 2014-07-11 04:04:23
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,473
Re: [SOLVED] txp:images offset doesn't seem to be working
limit="2"
Offline
Re: [SOLVED] txp:images offset doesn't seem to be working
thanks GugUser
Offline