# Photo Gallery that loads pictures before

**URL:** <https://forum.kirupa.com/t/photo-gallery-that-loads-pictures-before/186071>\
**Category:** flash\
**Created:** [April 18, 2006, 8:31pm UTC](https://forum.kirupa.com/t/photo-gallery-that-loads-pictures-before/186071 "2006-04-18T20:31:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [April 18, 2006, 8:31pm UTC](https://forum.kirupa.com/t/photo-gallery-that-loads-pictures-before/186071/1 "2006-04-18T20:31:31Z")

</div>

I was taking a look at t[his great site](http://www.formatum-inc.com/) at the link interior Design.

how it´s done that gallery? I noticed that the pictures are loaded in order, before they are asked to be shown.  
When the user clicks on the number of the image, it has already been loaded by the swf.

Does anyone has any idea?  
Thanks

---

<div class="post-metadata">

**Author:** ![MartinKool](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@MartinKool](https://forum.kirupa.com/u/MartinKool)\
**Post date:** [April 18, 2006, 8:44pm UTC](https://forum.kirupa.com/t/photo-gallery-that-loads-pictures-before/186071/2 "2006-04-18T20:44:55Z")

</div>

Preloading? It doesn’t seem that special. When you access the first image, the script starts loading the next ones but doesn’t show them to you until you click them. It’s just basic preloading.

I usually use Betriebsraum’s queueLoader for this sort of stuff ([http://www.betriebsraum.de/blog/downloads/](http://www.betriebsraum.de/blog/downloads/))

---

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [April 18, 2006, 8:48pm UTC](https://forum.kirupa.com/t/photo-gallery-that-loads-pictures-before/186071/3 "2006-04-18T20:48:13Z")

</div>

But does it work for preloading all the pictures of the gallery in order?  
thanks for the reply…

---

<div class="post-metadata">

**Author:** ![MartinKool](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@MartinKool](https://forum.kirupa.com/u/MartinKool)\
**Post date:** [April 18, 2006, 8:50pm UTC](https://forum.kirupa.com/t/photo-gallery-that-loads-pictures-before/186071/4 "2006-04-18T20:50:54Z")

</div>

it does if that’s how you write it. You can preload in order, or you can constantly adjust your queue based on where the user is clicking, hell, even based on where he points his mouse cursor. Loading in order is the easier way though.

Have you preloaded an external file like a JPG before?

---

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [April 18, 2006, 9:14pm UTC](https://forum.kirupa.com/t/photo-gallery-that-loads-pictures-before/186071/5 "2006-04-18T21:14:37Z")

</div>

yes i have, but i never made a gallery that way before. i´ll take a look at the component and see what i can do. thanks

---

<div class="post-metadata">

**Author:** ![scotty](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@scotty](https://forum.kirupa.com/u/scotty)\
**Post date:** [April 19, 2006, 5:30am UTC](https://forum.kirupa.com/t/photo-gallery-that-loads-pictures-before/186071/6 "2006-04-19T05:30:37Z")

</div>

[http://www.kirupa.com/forum/showthread.php?t=215750](http://www.kirupa.com/forum/showthread.php?t=215750) post #20

scotty(-:
