Is it possible to pick a random image from a known directory with out using a DB and using readdir() instead?
I know from a DB I can use ORDER BY RAND() LIMIT 1
RTFM: Read all the candidates into an array and then use [man]array_rand[/man]