# Thumbs example/tutorial

**URL:** https://forum.kirupa.com/t/thumbs-example-tutorial/185240
**Category:** Uncategorized
**Created:** [April 11, 2006, 10:24pm UTC](https://forum.kirupa.com/t/thumbs-example-tutorial/185240 "2006-04-11T22:24:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![flash1810](https://avatars.discourse-cdn.com/v4/letter/f/258eb7/32.png) [@flash1810](https://forum.kirupa.com/u/flash1810)
#### Post date: [April 11, 2006, 10:24pm UTC](https://forum.kirupa.com/t/thumbs-example-tutorial/185240/1 "2006-04-11T22:24:58Z")

</div>

i am bulding an image gallery with thumbnails.  
i’ll have a grid of 12 thumbs displayed each time so in some instance i’ll need Prev and Next buttons to load previous and following set of 12.

the thumbs will be xml driven.

i’ve written most of the code for it, the part i seem to be struggling is this “division in sets of 12” and when to display prev and next btns.

does anybody know of an example or a tutorial explaining just that?

cheers

D

---

<div class="post-metadata">

### Author: ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)
#### Post date: [April 11, 2006, 10:32pm UTC](https://forum.kirupa.com/t/thumbs-example-tutorial/185240/2 "2006-04-11T22:32:36Z")

</div>

Theres a good tutorial in ‘PHP5 for Flash’ by David Powers on how to do this with contact records. I totally recommend picking up that book, It will help yo with things you didn’t know you even needed help with.🙂

---

<div class="post-metadata">

### Author: ![flash1810](https://avatars.discourse-cdn.com/v4/letter/f/258eb7/32.png) [@flash1810](https://forum.kirupa.com/u/flash1810)
#### Post date: [April 11, 2006, 10:38pm UTC](https://forum.kirupa.com/t/thumbs-example-tutorial/185240/3 "2006-04-11T22:38:39Z")

</div>

cheers for that defective…

any online examples/ tutorials anybody knows of?

D
