Web Page Templates

Easy Thumbnails

Web Page Templates
Previous  Top  Next

Easy Thumbnails can create Web pages of your images. It can do so either through its command-line switches or through the "Show in browser" command in the shortcut menu of the file-list window. The image layout and page appearance can be controlled through template files. The default layout is defined in the "Template.html" file that is distributed with Easy Thumbnails. It also serves as a good example of how the template file is structured. You can customize the file to suit your needs, or create new templates based on it.

If you open the Template.html file in a text editor or a code-based HTML editor, like NoteTab, you will notice that it is just a basic HTML file with special field codes inserted in different parts of the text. When Easy Thumbnails processes the template to produce the images Web page, it replaces the field codes with their corresponding values. Field codes are represented by keywords placed between two "$" characters. Most of these field codes can be placed anywhere in the template, except for the codes used to define the images -- image field codes should only be used on a single line. This line is then duplicated for each image that is added to the Web page. Furthermore, this line must contain the field $ImageUrl$, otherwise the template will fail to work.

If you need to create digital photo albums or more sophisticated Web pages based on your images, please consider trying out our Album Express software. Album Express lets you create superb Web albums in just a few mouse clicks. Visit out Web site at www.fookes.com to see sample photo albums created with Album Express.


Available Field Codes

$ImageUrl$
Represents the image filename in URL format. If the /L parameter switch is used, characters are changed to lowercase. Use this field for creating links to the image.  
 
$ImageName$Represents the image filename. This field should only be used on the same line as the $ImageUrl$ field.  
 
$ImageSize$Represents the image file size. This field should only be used on the same line as the $ImageUrl$ field.  
 
$ImageHeight$Represents the image height. This field should only be used on the same line as the $ImageUrl$ field.  
 
$ImageWidth$Represents the image width. This field should only be used on the same line as the $ImageUrl$ field.  
 
$FolderName$Represents the name of the folder that contains the processed images.  
 
$FolderPath$Represents the pathname of the folder that contains the processed images.  
 
$SearchSpecs$Represents the search pattern used to match images to process.  
 
$AppName$Represents the program name (i.e. Easy Thumbnails).  
 
$AppVersion$Represents the version number of Easy Thumbnails.  
 
$AppUrl$Represents the link to the Easy Thumbnails homepage on the Web.  
 
$CurrentDate$Represents the current date as specified by your computer clock.