How to make an image randomizer from gallery directory?
Posted
by zebraman
on Stack Overflow
See other posts from Stack Overflow
or by zebraman
Published on 2010-03-18T00:33:29Z
Indexed on
2010/03/18
0:41 UTC
Read the original article
Hit count: 366
Hello,
I would like to make a image randomizer/slider that randomly displays an image from a designated gallery and has controls to view the next/previous image. I have seen this done where images must be coded into arrays, but I would like to be able to just drop images into a /img/gallery directory and have the randomizer/slider pull random images from that directory.
Could anyone offer some guidance on how to do this, possibly using jQuery, or refer me to a tutorial that does something like this?
© Stack Overflow or respective owner