# XML photogallery

**URL:** <https://forum.kirupa.com/t/xml-photogallery/65652>\
**Category:** web dev\
**Created:** [September 28, 2004, 2:08pm UTC](https://forum.kirupa.com/t/xml-photogallery/65652 "2004-09-28T14:08:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ali\_tdk](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ali_tdk/32/306_2.png) [@ali\_tdk](https://forum.kirupa.com/u/ali_tdk)\
**Post date:** [September 28, 2004, 2:08pm UTC](https://forum.kirupa.com/t/xml-photogallery/65652/1 "2004-09-28T14:08:43Z")

</div>

Hi I’ve just tried to ammend the photogallery tutorial using XML on Kirupa…

[http://www.arkstudios.co.uk/eurostar/test.swf](http://www.arkstudios.co.uk/eurostar/test.swf)

I have uploaded a test file above… the first 3 images… i have changed the link in the xml document to my own… but they are not loading in…

heres the changes i have made to the xml document…

\<?xml version=“1.0” encoding=“utf-8” standalone=“yes”?\>  
\<images\>  
\<pic\>  
\<image\>[http://www.arkstudios.co.uk/eurostar/jewellery/earrings/1.jpg](http://www.arkstudios.co.uk/eurostar/jewellery/earrings/1.jpg)\</image\>  
\<caption\>Earring1\</caption\>  
\</pic\>  
\<pic\>  
\<image\>[http://www.arkstudios.co.uk/eurostar/jewellery/earrings/2.jpg](http://www.arkstudios.co.uk/eurostar/jewellery/earrings/2.jpg)\</image\>  
\<caption\>Earring2\</caption\>  
\</pic\>  
\<pic\>  
\<image\>[http://www.arkstudios.co.uk/eurostar/jewellery/earrings/3.jpg](http://www.arkstudios.co.uk/eurostar/jewellery/earrings/3.jpg)\</image\>  
\<caption\>Earring3\</caption\>  
\</pic\>  
\<pic\>  
\<image\>[http://www.kirupa.com/developer/mx2004/pg/stata\_lobby.jpg](http://www.kirupa.com/developer/mx2004/pg/stata_lobby.jpg)\</image\>  
\<caption\>Stata Lobby\</caption\>  
\</pic\>  
\<pic\>  
\<image\>[http://www.kirupa.com/developer/mx2004/pg/construction.jpg](http://www.kirupa.com/developer/mx2004/pg/construction.jpg)\</image\>  
\<caption\>Construction\</caption\>  
\</pic\>  
\<pic\>  
\<image\>[http://www.kirupa.com/developer/mx2004/pg/dome.jpg](http://www.kirupa.com/developer/mx2004/pg/dome.jpg)\</image\>  
\<caption\>The Dome\</caption\>  
\</pic\>  
\<pic\>  
\<image\>[http://www.kirupa.com/developer/mx2004/pg/structure.jpg](http://www.kirupa.com/developer/mx2004/pg/structure.jpg)\</image\>  
\<caption\>Structure\</caption\>  
\</pic\>  
\</images\>

---

<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:** [September 28, 2004, 4:51pm UTC](https://forum.kirupa.com/t/xml-photogallery/65652/2 "2004-09-28T16:51:53Z")

</div>

That is weird it should work fine, I checked your paths and they all look ok?? Post your fla let me see it.

---

<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:** [September 28, 2004, 11:20pm UTC](https://forum.kirupa.com/t/xml-photogallery/65652/3 "2004-09-28T23:20:18Z")

</div>

I tried changing the links to the photos from the online images to some of my own in folders. Now, I changed the XML doc to point to a file /imagefiles/pic1.jpeg but when I play the flash movie, I get an error opening URL and the image doesn’t show.

"Error opening URL “file:///…blah blah blah/Desktop/flash/gallery1/gallery2/imagefiles/guitar.jpeg” "

any ideas? I don’t think I’m missing anything unless I don’t know how to type in a relative path or something in my XML doc. Thanks!

---

<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:** [September 28, 2004, 11:22pm UTC](https://forum.kirupa.com/t/xml-photogallery/65652/4 "2004-09-28T23:22:03Z")

</div>

oh no wait, apparently I had the extension wrong… it works with a .jpg extension… not .jpeg, whoopsie! =D

---

<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:** [September 29, 2004, 8:29am UTC](https://forum.kirupa.com/t/xml-photogallery/65652/5 "2004-09-29T08:29:05Z")

</div>

Hi,

please find attached, the fla, and xml file. Could you have a look at it for me…

thanks…
