# XML gallery with thumbnails: how to set the number of thumbnail

**URL:** https://forum.kirupa.com/t/xml-gallery-with-thumbnails-how-to-set-the-number-of-thumbnail/278178
**Category:** flash
**Created:** [December 23, 2008, 3:08pm UTC](https://forum.kirupa.com/t/xml-gallery-with-thumbnails-how-to-set-the-number-of-thumbnail/278178 "2008-12-23T15:08:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Nausicaa979](https://avatars.discourse-cdn.com/v4/letter/n/f07891/32.png) [@Nausicaa979](https://forum.kirupa.com/u/Nausicaa979)
#### Post date: [December 23, 2008, 3:08pm UTC](https://forum.kirupa.com/t/xml-gallery-with-thumbnails-how-to-set-the-number-of-thumbnail/278178/1 "2008-12-23T15:08:15Z")

</div>

Hi,  
i’m workin’ on this kirupa tutorial:  
[http://www.kirupa.com/developer/mx2004/thumbnails.htm](http://www.kirupa.com/developer/mx2004/thumbnails.htm)

The problem is that thumbnails are only 10 (like in the tutorial), but i have a 24 pictures xml file to be loaded. Where should i change the code to set the correct number of thumbnails,as i need?  
Thank you
