Usage (via Makefile): $ make Usage: $ ./mkpicindex.sh > index.html This will create a justified gallery with all jpg, png and gif pictures in the current directory. $ make clean This will remove all autogenerated files except the generated thumbnail files. Configuration can be done by altering `mkpicindex.sh`. Configuration variables are at the top. You can create the files HEADER and FOOTER, which will be included above and below the gallery.