# XML gallery - generate XML path for image gallery

**URL:** <https://forum.kirupa.com/t/xml-gallery-generate-xml-path-for-image-gallery/156086>\
**Category:** flash\
**Created:** [July 22, 2005, 11:37am UTC](https://forum.kirupa.com/t/xml-gallery-generate-xml-path-for-image-gallery/156086 "2005-07-22T11:37:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jankratochvil](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jankratochvil/32/566_2.png) [@jankratochvil](https://forum.kirupa.com/u/jankratochvil)\
**Post date:** [July 22, 2005, 11:37am UTC](https://forum.kirupa.com/t/xml-gallery-generate-xml-path-for-image-gallery/156086/1 "2005-07-22T11:37:19Z")

</div>

I learned from [great tutorial of kirupa](http://www.kirupa.com/developer/mx2004/thumbnails.htm) .  
I tried to create own image gallery, now I stay in front of problem.  
How can I generate path for my images and thumbnails for XML file.  
E.g. I have 110 images paths and 110 thumbnails path.  
Manually takes it lot of time ☹ , how can I make this code for XML file?

\*\*  
\<pic\>  
\<image\>images/img/ref/img/img\_001.jpg\</image\>  
\<thumbnail\>images/img/ref/thm/img\_001.jpg\</thumbnail\>  
\</pic\>  
\*\*  
next node, next node,  
…  
last node:  
\*\*  
\<pic\>  
\<image\>images/img/ref/img/img\_110.jpg\</image\>  
\<thumbnail\>images/img/ref/thm/img\_110.jpg\</thumbnail\>  
\</pic\>  
\*\*
