# I have a problem with my picture gallery! Please help me!

**URL:** <https://forum.kirupa.com/t/i-have-a-problem-with-my-picture-gallery-please-help-me/18615>\
**Category:** Uncategorized\
**Created:** [April 18, 2003, 5:40pm UTC](https://forum.kirupa.com/t/i-have-a-problem-with-my-picture-gallery-please-help-me/18615 "2003-04-18T17:40:47Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![UK\_Goldorak](https://avatars.discourse-cdn.com/v4/letter/u/d2c977/32.png) [@UK\_Goldorak](https://forum.kirupa.com/u/UK_Goldorak)\
**Post date:** [April 18, 2003, 5:40pm UTC](https://forum.kirupa.com/t/i-have-a-problem-with-my-picture-gallery-please-help-me/18615/1 "2003-04-18T17:40:47Z")

</div>

Hi…

I followed the kirupa tutorial for creating a picture viewer…It works fine except that the photos are huge, so I went into photoshop and resized them… As soon as I resize them, when I run the test movie in Flash, those pictures do not even appear.  
I checked all the names, and paths and all that but it doesnt work.

Does anyone know what the problem could be?

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:** [April 18, 2003, 5:44pm UTC](https://forum.kirupa.com/t/i-have-a-problem-with-my-picture-gallery-please-help-me/18615/2 "2003-04-18T17:44:32Z")

</div>

did you change the pictures’ format when you resized in photoship maybe you saved them in another format (not 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:** [April 18, 2003, 5:47pm UTC](https://forum.kirupa.com/t/i-have-a-problem-with-my-picture-gallery-please-help-me/18615/3 "2003-04-18T17:47:30Z")

</div>

or progressive jpg. flash can’t load progressive jpg’s dynamically. :-\

---

<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:** [April 18, 2003, 5:48pm UTC](https://forum.kirupa.com/t/i-have-a-problem-with-my-picture-gallery-please-help-me/18615/4 "2003-04-18T17:48:32Z")

</div>

I checked…they are saved as jpgs. Flash has no problem detecting them, they just dont load…or I can see them for some reason. I can see the huges ones thou

---

<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:** [April 18, 2003, 5:49pm UTC](https://forum.kirupa.com/t/i-have-a-problem-with-my-picture-gallery-please-help-me/18615/5 "2003-04-18T17:49:04Z")

</div>

what are progressive jpgs?

---

<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:** [April 18, 2003, 5:55pm UTC](https://forum.kirupa.com/t/i-have-a-problem-with-my-picture-gallery-please-help-me/18615/6 "2003-04-18T17:55:12Z")

</div>

> _**quote from [webdevelopersnotes.com](http://webdevelopersnotes.com)**_

Progressive JPEGs are similar to Interlaced Gifs and are loaded in the browser in a series of passes. First a ‘blurred’ image is displayed, then as more information flows in, the clarity increases. Most image editing and manipulating programs let you indicate the number of passes you want to have in the image.

In contrast to GIF, Progressive Jpgs are slightly smaller than plain jpg files. You’ll use JPG mostly for photographs and these tend to be large in size (both in physical dimensions and file size). The advantage offered to the visitor is that he or she atleast gets an idea of the image. Hence, I recommend using progressive JPGs always.

The only disadvantage in using Progressive JPGs is that they require more processing power by the client machine and the browser. However, in these days of high computing power and continuing improvements in browser software, this aspect can be safely ignored.

when you export the image from photoshop (save for web) you’ll see a check box there… if you don’t know what i’m talking about, run a search in the forums, you’ll find a screenshot. =)

---

<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:** [April 18, 2003, 6:08pm UTC](https://forum.kirupa.com/t/i-have-a-problem-with-my-picture-gallery-please-help-me/18615/7 "2003-04-18T18:08:03Z")

</div>

this.pathToPics = “”;  
// fill this array with your pics  
this.pArray = [“You Talking to me.jpg”,“cat2.jpg”, “vlad.jpg”, “4.jpg”, “5.jpg”];  
this.fadeSpeed = 10;  
this.pIndex = 0;

this is the code that searches for the pictures…

The first one is huge size, all the others are rezised and I dont see them…I’m not really exporting them, just pointing to them and then loading them…

I have no idea why it’s not working…I am lost!

☹

---

<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:** [April 18, 2003, 6:32pm UTC](https://forum.kirupa.com/t/i-have-a-problem-with-my-picture-gallery-please-help-me/18615/8 "2003-04-18T18:32:11Z")

</div>

that’s why i’m telling you, when you resized the images surely you save them as progressive 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:** [April 18, 2003, 6:42pm UTC](https://forum.kirupa.com/t/i-have-a-problem-with-my-picture-gallery-please-help-me/18615/9 "2003-04-18T18:42:18Z")

</div>

\*\*\*\*, you were right…for some reason there was a little check some somewhere that I have to tick off.

Thanks for the help!!

Now I have another problem thou…I pictures load in the right size but they dont load in the box in which they are supposed to, would you have an idea why it’s doing that?

---

<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:** [April 18, 2003, 6:58pm UTC](https://forum.kirupa.com/t/i-have-a-problem-with-my-picture-gallery-please-help-me/18615/10 "2003-04-18T18:58:21Z")

</div>

the only thing i can say without checking your fla…

when you load a jpg/swf into a MovieClip, the upper left corner of the jpg/swf is positioned at x:0 y:0 in the MovieClip. 🙂

---

<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:** [April 28, 2003, 8:42pm UTC](https://forum.kirupa.com/t/i-have-a-problem-with-my-picture-gallery-please-help-me/18615/11 "2003-04-28T20:42:40Z")

</div>

I just posted about this - I’m checking the movie clip that the pictures load into and it’s registration point is the upper left. Or is it the reg point for the whole swf? At least I have something to try now…
