Hey,
I was wondering if anyone could lend a hand.
I am after a php (or javascript. not sure what will work best) script to randomly display an image from a directory.
I would also like the image to change every x seconds. So that would be a BIG PLUS!
Re-sizing would, again be a plus, but really not so big an issue, so this comes later on.
If anyone HAS or KNOWS OF a script that does this, if you could share this information with me it would be great.
Any help is much appreciated.
Comments
Here is the source.
It loads all the images into the js array when the page loads, then the js randomly displays an image and rotates them every x seconds (2 by default).
This script (in its current form) can only be run if the IMAGES are in a directory UNDER this script.
Sorry for the delay. Enjoy.
Thanks.
Sweet... this might answer my question about adding random thumbnails to each folder in Filebrowser