NeoPhoto: Software for sharing photos with Family and Friends.
NeoPhoto

1.3. How NeoPhoto uses template files to create web pages.

In the folder where NeoPhoto(tm) is installed, which is usually C:\Program Files\NeoPhoto, there is a subfolder called Templates. Each template available on the Select Templates dialog is stored in it's own folder under the Templates Folder.

The template folder contains:

  1. a NeoPhoto Template file that has the extension “.neotmpl” and has the same name as the template folder. For instance the folder name of the “A Slide Show” template is “aslideshow”. The template file in that folder is “aslideshow.neotmpl”

  2. a preview image that shows what the generated webpages will look like.

  3. supporting graphics files, flash animations, java applets or anything else you want to include in the generated web pages.

There are two occasions where NeoPhoto will read a template file:

  1. when a user opens the Select Template dialog in the software. Each template found in the Templates directory is listed in the dialog. All the information displayed about the template comes straight from the NeoPhoto Template file. This includes the name, the author, the preview graphic, the description, etc.

  2. when a user selects a theme and asks NeoPhoto to generate webpages.

In the second case, NeoPhoto will read in the entire file and will then loop through each photo in the current photo album and apply it to the instructions in the template file to generate the corresponding HTML.

The rest of this document describes how to create and edit NeoPhoto Webpage Template files.