PHP

Instead of creating a set of static web pages, in HTML format, with index pages for the thumbnails and a separate linked-image page for each of the larger images, you can alternatively create one PHP page for the index (showing the thumbnail pages, as many as are necessary), one for the linked images, and one for the slideshow.
These pages rely on the server to provide the back-end 'intelligence', interpreting the script to generate the necessary HTML pages on-demand. It is therefore necessary to ensure that the web server you are uploading your files to supports PHP (most do).

A further advantage of using scripted pages in this way is that certain additional features are available. This includes two which have been requested by users on numerous occasions:
  • The ability to display the number of times each image has been viewed,
  • The ability to allow those browsing the images to add comments.
Each of these features can be selected, or not, by means of the PHP Options dialog, available from the properties icon on the HTML tab that appears when the PHP output option is chosen:

These settings are 'remembered' from one run of the program to the next. Note that the setting 'Allow HTML in comments' should normally be turned off (the default) to prevent malicious users running code on your server.

NB: note that currently, only the default output template/style is available with PHP.

Note for Unix users: the program implements the 'view' feature by creating a file called 'views.txt' to store the number of times each image has been viewed. You must ensure that this file is owned by the server, whatever user that is on your system (usually Apache) by entering a 'chown' command at the command prompt.
Back to the main page
    Revision history