http://stackoverflow.com/questions/15854620/how-to-load-images-from-a-directory-in-a-sequence-with-php