simplest possible image gallery from a list of files in a directory. creates thumbnails in /dev/shm if possible