Layout Templates

The directory 'templates' contains the files for the layout. You can use HTML and CSS to customize the layout as you wish.

Each of the templates 'index.html and 'window.html contain the layout for the page. The templates 'table.html and 'window_table.html contain the layout of the table rows. The script takes the table cell and transform it to a full table.

In case you are using a WYSIWYG editor like Dreamweaver, Frontpage or NetObjects please make sure that the software does not make any changes by itself.

The template files contain markers with { and } like: {txt_next_page}. These markers will be replaced by its counterparts from the language file 'languages/ You are free to edit that file and change the words and phrases. You are also free to replace the markers within the template files by real words or put those markers to other positions within the template file. And you are also able to enhance the language file by using the given pattern.

Amongst those word markers exist the so called Loops. Similar to HTML tags the two parts (...) must not be separated. If you want to alter the position within the template you move the hole block.

The script has been pre-configured in several ways:

Pop-up Mode

The full-size images are displayed in a popup window. The file names of the files are 'index.php and 'window.php. The template file names are 'index.html, 'table.html, 'window.html and 'window_table.html.

Simple mode

The thumbnails and the full-size images are displayed within the same window. The name of both files are x_simple_index.php and x_simple_window.php. The template for the preview image cells is x_simple_table.html and the global layout template is x_simple_window.html. The both other templates are the same as in the pop-up version.

Frame mode

The thumbnails are displayed in a navigation frame and the full-size images are displayed in the main frame. The file names are x_frame_index.php, x_frame_main.php and x_frame_navi.php. The template name of the frame index page is x_frame_index.html. The template name for the thumbnail page is x_frame_navi_table.html. The other three tempates are the same as in the window version.