Overview

This document describes the offline generation of HTML files and thumbnail previews of images.

Filesystem Structure

The filesystem structure will be plain. Each file will be indexed, either by the timestamp of the date of creation, an incrementing counter or the assigned date. There are tree types of files:

  • An HTML file showing the image and the description, maybe including thumbnails of a short number of previous pictures.

  • A full-sized image file.

  • A thumbnail preview of the image file.

Additionally, there is an index file showing a number of thumbnails of previous pictures.

Publishing Process

The publishing process contains ? steps:

  1. Creation of the (rotated) full-sized image file.

  2. Creation of the (rotated) thumbnail file.

  3. Creation of the XML file as datasource for the HTML file and the index file. This file is neccessary to create the preview gallery at the index file.

  4. Creation of the HTML file.

  5. Creation of the index file.

  6. Upload of the created files (except the XML file).

Locally, there will be a workspace directory containing all the generated files.