Kraxy/EBN: missing Q_OBJECT
[kphotoalbum.git] / HTMLGenerator / theme-syntax.h
blobc53cd6fe0ef3bca0800dccd758c639feba08066f
1 /**
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
6 pages.
8 Themes use template files that are used as basis for static HTML files.
9 There are currently two template files used:
10 \li mainpage.html
11 \li imagepage.html
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
19 easily be used.
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.
24 <h2>Mainpage</h2>
25 Template file mainpage.html can use the following tags that are then
26 repplaced by KPA with export specific data:
27 \li **DESCRIPTION**
29 Description given in configuration dialog
31 \li **TITLE**
33 Title given in configuration dialog
35 \li **COPYRIGHT**
37 Copyright owner / author given in configuration dialog
39 \li **KIMFILE**
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
47 page.
49 \li **JSIMAGES**
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).
59 \li **FIRST**
61 Page name for first image in album.
63 \li **LAST**
65 Page name for last image in album.
67 \li **RESOLUTIONS**
69 Selected resolutions within the page with links to respective index
70 pages.
73 <h2>Imagepage</h2>
74 Template file imagepage.html can use the following tags that are then
75 replaced by KPA with export specific data:
76 \li **TITLE**
78 Image file name.
80 \li **IMAGE_OR_VIDEO**
82 Image or video with a link to next page.
84 \li **PREV**
86 Link to previous page.
88 \li **PREVFILE**
90 Name of previous file.
92 \li **NEXT**
94 Link to next page.
96 \li **NEXTFILE**
98 Name of next file.
100 \li **INDEX**
102 Link to index file.
104 \li **INDEXFILE**
106 Name of index file.
108 \li **NEXTPAGE**
110 Next page or index page if current page is last.
112 \li **RESOLUTIONS**
114 Selected resolutions within the page with links to respective index
115 pages.
117 \li **COPYRIGHT**
119 Copyright owner / author given in configuration dialog
121 \li **DESCRIPTION**
122 Description contains what is selected to be included in
123 HTMLGenerator dialog. E.g. keywords and image description.