Galleria is a command-line tool to turn a directory of images into a Web gallery. It goes through the directory of pictures, resizes them to a specified size, and creates thumbnails. Afterward, index and detailed HTML pages are produced. For its layout, galleria relies on templates. galleria comes with a nice default template, but custom templates can be easily created.