Simple random image generator

This is a simple random image generator.
Just specify a folder or store it in a folder containing all image files and it will load only images(jpg, gif, png). Add one parameter and the image wil be resized using GD libraries for resizing.