# Pls help with dynamic photo gallery

**URL:** <https://forum.kirupa.com/t/pls-help-with-dynamic-photo-gallery/60812>\
**Category:** Uncategorized\
**Created:** [August 12, 2004, 7:52pm UTC](https://forum.kirupa.com/t/pls-help-with-dynamic-photo-gallery/60812 "2004-08-12T19:52:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![emak](https://avatars.discourse-cdn.com/v4/letter/e/5fc32e/32.png) [@emak](https://forum.kirupa.com/u/emak)\
**Post date:** [August 12, 2004, 7:52pm UTC](https://forum.kirupa.com/t/pls-help-with-dynamic-photo-gallery/60812/1 "2004-08-12T19:52:56Z")

</div>

Hey everyone,

I really need help making a photo gallery in my website. I want the gallery section to brings up a bunch thumbnails dynamically for users to choose from and when they click on the thumb it will load the actual image.

So far, I can only get the thumbnails to load.

> 

\_root.xSpacing = 270;  
\_root.numOfPics = 3;

pathToImages = “images/image”

for (i=0; i\<\_root.numOfPics; i++) {  
holder\_mc = this.createEmptyMovieClip (“emptyClip”+i, i);  
holder\_mc.loadMovie(pathToImages+ i + “.jpg”);  
holder\_mc.\_x = (\_root.xSpacing\*i)  
}

Any ideas?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 12, 2004, 7:55pm UTC](https://forum.kirupa.com/t/pls-help-with-dynamic-photo-gallery/60812/2 "2004-08-12T19:55:28Z")

</div>

I thought this might help you

[http://www.kirupa.com/developer/mx/photogallery.htm](http://www.kirupa.com/developer/mx/photogallery.htm)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 12, 2004, 8:18pm UTC](https://forum.kirupa.com/t/pls-help-with-dynamic-photo-gallery/60812/3 "2004-08-12T20:18:29Z")

</div>

Thanks for the quick reply. I did check out that tutorial many times but I still can’t figure out how I can click on one of the thumbnail and it load the correspondent real size image (ie. if I click on thumb0.jpg, it will load image0.jpg).

Maybe I’m in way over my head, what I’m trying to accomplish is something similar to [http://www.wiretree.com/ronmac/](http://www.wiretree.com/ronmac/).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 13, 2004, 8:06am UTC](https://forum.kirupa.com/t/pls-help-with-dynamic-photo-gallery/60812/4 "2004-08-13T08:06:42Z")

</div>

[http://www.senocular.com/downloads/index.php?start\_from=40&archive=&subaction=&id=&kind=2](http://www.senocular.com/downloads/index.php?start_from=40&archive=&subaction=&id=&kind=2)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 13, 2004, 8:07am UTC](https://forum.kirupa.com/t/pls-help-with-dynamic-photo-gallery/60812/5 "2004-08-13T08:07:41Z")

</div>

Try Senoculars Gallery:

[http://www.senocular.com/downloads/index.php?start\_from=40&archive=&subaction=&id=&kind=2](http://www.senocular.com/downloads/index.php?start_from=40&archive=&subaction=&id=&kind=2)

you are looking for this file: xmlportfoliowithimageandtext.zip 21 Jan 2004

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 13, 2004, 11:01pm UTC](https://forum.kirupa.com/t/pls-help-with-dynamic-photo-gallery/60812/6 "2004-08-13T23:01:35Z")

</div>

Thanks plonker! for pointing me in the right direction. Hopefully, after going through the tutorial I can get my photo gallery to work. It’s going to be the first time writing/using xml for me in flash.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 14, 2004, 1:14am UTC](https://forum.kirupa.com/t/pls-help-with-dynamic-photo-gallery/60812/7 "2004-08-14T01:14:06Z")

</div>

XML+Flash==Fun

Enjoy, glad to help!
