A Simple Html Gallery Generator

For a quick way to generate a HTML based gallery for your favourite pictures. Simple Gallery will create an index page containing thumbnails of your pictures and a page for each picture.

You will need to install the Python scripting language and thumber a thumbnail creator. Before running Simple Gallery you must take the following steps to prepare your images :

  1. Copy them to a seperate directory, the name of this directory is used for the index filename.
  2. Make sure the filenames end in .jpg, the name of the picture is displayed on each page.

You will need a open a terminal in the directory above the one you just stored your images in, (this is where the index file will be created, you should also copy the logo.jpg file here, or make your own, if you want it to appear in the page background.) and type:

sgallery dirname [colums]

The colums option allows you to set how many thumbnails appear on each row, if no value is entered the default of 5 is used.

Make sure that thumber and sgallery are in your path, e.g /boot/home/config/bin

If you wish to remake the index file delete the thumbnail directory and html pages from the picture directory before running sgallery again.

If you use Tab Completion in the terminal Do not leave a trailing slash at the end of the directory name.

Please note I do not accept any responsibility for loss of data, hair, or life whilst running this script.