Web Page Templates

The web page template files used by PicSwitcher are standard HTML files, with a few changes.  PicSwitcher uses a few tags to indicate where to place the page title, headers and footers, images, and other elements, as well as which other files to include along with the HTML file itself.

If you wish to create a template for PicSwitcher, use your favorite HTML editor to come up with the basic design.  Next add the following tags to your file:

Tag Usage
{title} Web Page Title
{header} Page Header
{footer} Page Footer
{border} Table border size
{cells} Image table cells
{files:} Copy the files after the colon to the destination directory

The first four of these are pretty straightforward.  The fifth, {cells}, requires some explanation.

The {cells} tag should be placed directly inside the <table> and </table> tags.  PicSwitcher will automatically create all <tr>, <td>, </td>, and </tr> tags for you.  If you wish to include table rows before or after the images, you may do so, but make sure that the {cells} tag is not inside any <tr> or <td> blocks.

The {files:} tag specifies which files should be copied in addition to the HTML file.  If your page uses background images or other images, include the filenames for these files in the {files:} tag as follows:

{files:background.jpg,image1.jpg,image2.jpg}

Once you have created your template, copy the .HTML file and all other required files to the Templates directory inside the PicSwitcher program directory, normally C:\Program Files\PicSwitcher 2.0.