This class can be used to display a gallery with images from a directory. It can scan the current directory for image files with given file name extensions. The class generates HTML to show a given number of random images from the scanned image files. Each image is displayed as a thumbnail linking to the image in the original size.