# Suggestions for a random fading jpeg gallery

**URL:** <https://forum.kirupa.com/t/suggestions-for-a-random-fading-jpeg-gallery/88816>\
**Category:** Uncategorized\
**Created:** [May 2, 2005, 8:03pm UTC](https://forum.kirupa.com/t/suggestions-for-a-random-fading-jpeg-gallery/88816 "2005-05-02T20:03:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RASMedia](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@RASMedia](https://forum.kirupa.com/u/RASMedia)\
**Post date:** [May 2, 2005, 8:03pm UTC](https://forum.kirupa.com/t/suggestions-for-a-random-fading-jpeg-gallery/88816/1 "2005-05-02T20:03:35Z")

</div>

Hello all,

I am on a very tight deadline to come up with a jpeg slideshow that randomly calls 1 of 15 given images in a directory. Though the images will be updated they will always have the same names, pic1, pic2, etc.

I can load them all in at the beginning and use them that way, or load them randomly 1 at a time as needed by a function.

I’m just looking for suggestions in terms of structure and setup. I can do this dynamically with all code or I can just load them in and come up with a design solution.

The images need to load, fade in, remain on screen for a bit, and fade out. Then begin again with a new random image.

I know many people have probably built something like this before, so any and all suggestions would be appreciated.

Thanks in advance for any advice!

David
