Click to See Complete Forum and Search --> : random image viewer


neonbob
01-09-2003, 06:54 PM
im not quite sure if i can do this, i am running an apache webserver here on a linux box, and i would like to have a random image viewer. im not too linux friendly, as ive used windows all my life. i have about 40,000 pics to choose from. any help would be appreciated.

vze342zs@verizon.net

thanks.

khalidali63
01-09-2003, 07:20 PM
I hope all the pics are in a directory which apache can read from for external requests.
once that is done.then you only have to write a tiny bit of JavaScript to display pictures.Now since pictures are way too many and creating an array will be rather cumbersome,Id suggest follow a convention in naming them and the use the random number to view an image.

If you are lost even more ,I'll try to put a pice of code for you.

Khalid