# Gallery page index help pleeeeease

**URL:** <https://forum.kirupa.com/t/gallery-page-index-help-pleeeeease/170458>\
**Category:** Uncategorized\
**Created:** [November 26, 2005, 9:36am UTC](https://forum.kirupa.com/t/gallery-page-index-help-pleeeeease/170458 "2005-11-26T09:36:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oxyde\_mac\_com](https://avatars.discourse-cdn.com/v4/letter/o/7c8e57/32.png) [@oxyde\_mac\_com](https://forum.kirupa.com/u/oxyde_mac_com)\
**Post date:** [November 26, 2005, 9:36am UTC](https://forum.kirupa.com/t/gallery-page-index-help-pleeeeease/170458/1 "2005-11-26T09:36:47Z")

</div>

i’m working on a photo gallery from best of kirupa post V3 gallery.  
everything working well. i’ve changed the gallery to only preview thumbnails . now i’m trying to make a page index. if the number of thumb is larger than 10, i want to have a page button so i could browse from page to page.the number of pages is according to number of thumb (ex: if 30 thums so will be 3 pages of 10 thumbs)  
here’s the script im using now. i’ve tried to adapt some stuff from other script but nothing working.  
cheers
