# Photo gallery pictures are not showing up on the web

**URL:** https://forum.kirupa.com/t/photo-gallery-pictures-are-not-showing-up-on-the-web/105819
**Category:** Uncategorized
**Created:** [March 30, 2004, 4:05am UTC](https://forum.kirupa.com/t/photo-gallery-pictures-are-not-showing-up-on-the-web/105819 "2004-03-30T04:05:11Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![commexokid](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@commexokid](https://forum.kirupa.com/u/commexokid)
#### Post date: [March 30, 2004, 4:05am UTC](https://forum.kirupa.com/t/photo-gallery-pictures-are-not-showing-up-on-the-web/105819/1 "2004-03-30T04:05:11Z")

</div>

i made the photo gallery that this place has the tutorial for and everything works great on flash and when i do publish preview the pictures show up, but then when i tried to get it on the web for some reason everything but the pictures show up. i dont know whats going on. can i have some help or ideas?? 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: [July 4, 2004, 9:30am UTC](https://forum.kirupa.com/t/photo-gallery-pictures-are-not-showing-up-on-the-web/105819/2 "2004-07-04T09:30:37Z")

</div>

i think you should put the website url instead. i.e. [http://www.yousite.com/dinner/](http://www.yousite.com/dinner/)

> [@commexokid](#):
>
> [AS]this.pathToPics = “dinner/”;  
> this.pArray = [“dinner2.jpg”, “dinner1.jpg” , “backyard 041.jpg” , “dinner5.jpg” , “dinner6.jpg” , “dinner9.jpg”];[/AS]

---

<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: [July 4, 2004, 5:50pm UTC](https://forum.kirupa.com/t/photo-gallery-pictures-are-not-showing-up-on-the-web/105819/3 "2004-07-04T17:50:19Z")

</div>

okay it might be a couple of things,

1. make sure “dinner” is a folder on the web with read access that has all the pics
2. make sure the “dinner” folder is in the same directory as the swf
3. since you have a “/” in the pathToPics variable and “.jpg” in the array make sure you are not adding them again when putting together the path to the picture ie  
this.finalPathToPic = this.pathToPics +"/"+this.pArray[4]+".jpg";  
especially the jpg thing it works offline not online
4. I haven’t worked with manually defined arrays too much in flash, but make sure it isn’t adding the quotes to the filenames, this will work offline, not online for some reason ie loadPic(dinner/“pic1.jpg”)

It may be something else could we see the code actually used to load the pictures, not just the variables used to define the path…if you are worried about it being stolen you can PM me the code and I will do what I can to find the problem.

---

<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: [July 4, 2004, 6:40pm UTC](https://forum.kirupa.com/t/photo-gallery-pictures-are-not-showing-up-on-the-web/105819/4 "2004-07-04T18:40:47Z")

</div>

an easy way is to just put the .swf file in the same directory as all your pictures  
and leave the path blank. “” (empty quotation marks).

this.pathToPics = “”;  
this.pArray = [“dinner2.jpg”, “dinner1.jpg” , “backyard041.jpg” , “dinner5.jpg” , “dinner6.jpg” , “dinner9.jpg”];

---

<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: [July 4, 2004, 6:48pm UTC](https://forum.kirupa.com/t/photo-gallery-pictures-are-not-showing-up-on-the-web/105819/5 "2004-07-04T18:48:59Z")

</div>

true it is easier, however, a little less organized, and several of the problems will happen regardless of the path…
