2 \page html-themes HTML themes
4 Static web pages can be generated with selectable sized images.
5 HTMLGenerator allows using of themes to produce differently styled web
8 Themes use template files that are used as basis for static HTML files.
9 There are currently two template files used:
13 Maingpage is used to generate index.html and image size specific index
14 pages ( index-800x600.html ). imagepage.html is used to create one HTML
15 page for each image and for each requested image size.
17 Any other files within a theme directory are copied as is to the target
18 web page. This way javascript, style files and theme specific images can
21 One more file included in a theme is file called kphotoalbum.theme. This
22 file contains information about the theme author and theme name.
25 Template file mainpage.html can use the following tags that are then
26 repplaced by KPA with export specific data:
29 Description given in configuration dialog
33 Title given in configuration dialog
37 Copyright owner / author given in configuration dialog
41 Link to Kim file that can be generated for other people to import KPA
42 keywords and other data associated with each image.
44 \li **THUMBNAIL-TABLE**
46 HTML formatted table containing all thumbnails to be exported to HTML
51 JavaScript formatted array initialization containing all images to be
52 exported to HTML page. JS variables size and tsize are initialized to
53 reflect sizes of images and thumbnails within the selected index page.
54 Each array element consists of full sized image name (of currently
55 selected image size), thumbnail image name, link to image specific HTML
56 page and description field (containing information selected in HTML
57 configuration dialog).
61 Page name for first image in album.
65 Page name for last image in album.
69 Selected resolutions within the page with links to respective index
74 Template file imagepage.html can use the following tags that are then
75 replaced by KPA with export specific data:
80 \li **IMAGE_OR_VIDEO**
82 Image or video with a link to next page.
86 Link to previous page.
90 Name of previous file.
110 Next page or index page if current page is last.
114 Selected resolutions within the page with links to respective index
119 Copyright owner / author given in configuration dialog
122 Description contains what is selected to be included in
123 HTMLGenerator dialog. E.g. keywords and image description.