I need a simple script which will look at a shared folder, see X amount of images and randomly pick one.
The names will most likely not be in any format. I can easily find scripts like the one below but these require fixed image names.
var myimages=new Array()
//specify random images below. You can have as many as you wish
document.write('<img src="'+myimages[ry]+'" border=0>')