This script will display 1 random image from a directory... I would like to make it so grabs 5 different from the directory and displays them.... if I could make the alt tags match the name of the image that would be a very cool added bonus.. any thoughts??
//This is the directory route to the folder
//This is a relative link to the directory if it is not in the same directory as the file you are displaying the images on
die("Failed to read directory");
//Spit it out
echo "<img alt='' src=\"$directory$image[$randNum]\" $size />";