HTML generator for picture websites
Copyright © 2005 Richard J. Edwards - See source code for GNU License Notice
This module is designed to take one or more folders of pictures and generate linked HTML pages for them. An accessory application for making thumbnails is needed. This should be used prior to running the program, or at the prompt.
At present, this script will generate photos for an assumed hiearchical ordering. The current directory should be the one from which the program is run, and this will contain the pictures.htm file which links to the other pages. Within this there are then three hierarchies of folder: 1. A 'Type' of picture group, e.g. Holidays or Animals etc. 2. A 'Group' of pictures within the type, which may itself have multiple subfolders 3. An 'Element' of the group of pictures, which consists of a single set of linked photos
The 'Group' is the primary focus of this script as photos will generally be added for a particular event (a holiday for example). In addition to the folders for individual elements, each group should have a thumbnails folder which has all the thumbnails for that group. Each element has its own folder for which a set of linked web pages is generated. These are linked directly to the Pictures page.
The pages for each element consist of two frames: 1. A margin, for easy navigation to individual photos and thumbnails pages etc. 2. The main frame where the photos are displayed, with their names and a short description.
Each photo has its own page, with arrows cycling through the previous and next photos (in a circular fashion via the thumbnails page) with the title of the picture underneath and, if desired, a small description. Clicking on the picture will open it full size in another page. In addition to these, there is a thumbnails page, which links to the individual web-pages, and a downloads page which links direct to the photos themselves.
### File locations etc. ###
© 2015 RJ Edwards. Contact: email@example.com.