This section describes a few of the advanced features in more detail.
"CSS Stylesheets" are only partially supported. Later versions may provide a more sophisticated support. Currently, only font entries are fully supported.
The entry HTML_CSS_ENABLE must be set
to a value of 1 in order to activate CSS stylesheet support.
A value of 0, on the other hand, activates <font>
constructs
inside the HTML code.
The name of the "CSS-Stylesheet" file is configurable by setting the entry HTML_CSS_FILENAME to the desired value (the default name is "stylesheet"). The file extension ".css" is automatically appended to this name. The stylesheet file is created if it does not exist and is placed next to the thumbnail HTML pages. It is referenced by all HTML files (except for the image wrapper HTML file which contains only the image and no text).
If a "CSS-Stylesheet" file cannot be found then the script tries to copy a template from the location "~/.createPhotoWebPages/stylesheet.css" (actually the installation directory) to be used as default. If this default file cannot be found then a new file is generated with appropriate default values.
In order to simplify the use of template-driven texts a number of placeholder variables are available. These are replaced by the appropriate content when the HTML files are later generated. All use the format "%VARIABLENNAME%"
Two groups of variables are available which may be used inside different entries.
The variables described in the following may be used in the configuration file entries HTML_ADDRESS_TEXT and HTML_TOP_TEXT.
Note that most image variables are extracted from the EXIF entries of the JPEG format. It is therefore a prerequisite to have images available in JPEG format. The program "jhead" is used to extract the EXIF entries. The configuration entry USE_JPEGTRAN_JHEAD indicates the availability of this program.
The variables described in the following may be used in the configuration file entries IMAGE_ALT, IMAGE_TEXT, and IMAGE_CAPT.
%IMGDATE%
%IMGTIME%
%IMGFSIZE%
%IMGWIDTH%
%IMGHEIGHT%
%IMGTYPE%
%IMGFNAME%
%IMGFLASH%
%IMGISOEQUIV%
%IMGCAMVENDOR%
%IMGCAMMODEL%
%IMGFOCLEN%
%IMGEXPOSURE%
%IMGAPERTURE%
%IMGEXPBIAS%
%IMGMETERMODE%
%IMGEXPMODE%
%IMGRATIO%
back to top, back to main page