1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
<?xml version="1.0" encoding="utf-8"?>
<gallery type="album">
<general>
<ID>CIAF 2007</ID>
<title>CIAF - Czech International Air Fest 2007</title>
<description><![CDATA[8. - 9. září 2007<br/>
mezinárodní letiště Brno - Tuřany<br/>
<a href="http://www.airshow.cz/18-CZ-CIAF-07-Home.html">http://www.airshow.cz/18-CZ-CIAF-07-Home.html</a><br/>
<br/><br/>
This album sets border style "border_none" for preview images.
]]></description>
<footnote> <![CDATA[
This is a footnote in album view.
]]>
</footnote>
<!-- you can override global settings in each album: -->
<images quality="60" landscape_w="640" landscape_h="480" portrait_w="480" portrait_h="640" />
<!-- override global preview image border style -->
<border style="border_none" />
<meta>
<!-- custom meta tags valid for this album page and all listed items -->
<!-- this will override global meta settings, however -->
<!-- the <use_title_as_meta> global setting has even higher priority -->
<author>John Doe Jr.</author>
<description>CIAF - Czech International Air Fest 2007</description>
<keywords>ciaf,aircraft,military,exhibition</keywords>
</meta>
</general>
<items>
<item src="img_6802b.jpg" quality="95" width="500" height="750">
<title>Photo title</title>
<title_description>The preview image (and thumbnail of course) are automatically generated from original image.</title_description>
</item>
<item src="img_6802.jpg" preview="preview/img_6802.jpg">
<title>Photo title</title>
<title_description>This photo uses supplied preview image. Some people (me) can see the difference in sharpness.</title_description>
</item>
<item src="img_6802c.jpg" preview="preview/img_6802.jpg">
<nofullsize />
<title>Photo title</title>
<title_description>This photo doesn't contain link to original image, but src parameter is specified.</title_description>
</item>
<separator><![CDATA[This is a separator inside a single album. We <span style="text-decoration: underline;">can</span> <small>have</small> <strong>CDATA</strong> entries here!]]></separator>
<interspace><![CDATA[This is so-called intespace - simple paragraph or a block with an additional information to the section. This may be used with <separator> but not necessarily, interspace can stand alone between items in the album. Useful for links or few senteces to separated topic.]]></interspace>
<item preview="preview/img_6802d.jpg">
<title>Photo title</title>
<title_description>This photo doesn't contain link to original image nor the src parameter, EXIF data are extracted from the preview image.</title_description>
</item>
<item>
<title>Invalid item</title>
<title_description>Invalid item (no src specified), will be skipped.</title_description>
</item>
<item src="img_6850.jpg" quality="20">
<title>--</title>
<title_description>Different quality settings.</title_description>
</item>
<interspace>Another interspace between items</interspace>
<item src="img_6850b.jpg" width="350" height="350">
<title>--</title>
<title_description>Different preview sizes. Sizes are maximal and aspect ratio is always kept.</title_description>
</item>
<item src="img_7270.jpg">
<title><![CDATA[Photo containing <em>CDATA</em> <span style="text-decoration: underline;">structures</span>]]></title>
<title_description><![CDATA[Can contain <a href="http://cgg.bzatek.net/" title="Cataract Gallery Generator" class="footermail">links</a> etc...]]></title_description>
</item>
<separator>Border styles demo</separator>
<item src="img_6802e.jpg" border="frame_white">
<title>White frame</title>
<title_description>This particular image overrides both global and album border styles.</title_description>
</item>
<item src="img_6802f.jpg" border="frame_black">
<title>Black frame</title>
<title_description>This particular image overrides both global and album border styles.</title_description>
</item>
<separator>Misc.</separator>
<item preview="preview/img_6802g.jpg" thumbnail="thumbnails/gallery_thumbnails.gif">
<title>Custom thumbnail</title>
<title_description>This item uses supplied thumbnail</title_description>
</item>
<item src="img_1453.jpg">
<!-- Captions should be retrieved from IPTC/EXIF -->
</item>
<separator>Metadata</separator>
<item src="img_1453b.jpg">
<title>External EXIF metadata</title>
<title_description><![CDATA[This item uses external EXIF metadata, in this case supplied from a completely different picture.<br/><br/>
Photo editors and RAW workflow software usually strip big deal of metadata unknown to them. Things like <a href="http://exiv2.org/makernote.html">camera makernote</a> data are usually lost. Yet it may contain interesting information like lens used, crop factor/focal length converted to 35 mm film equivalent or even camera temperature.<br/><br/>
Any format that the Exiv2 library is able to read can be used as a source of EXIF/IPTC information. Use <code>cgg-dirgen</code> to supply external metadata the same way like for supplied thumbnails. By default, the "<code>.exv</code>" file extension is used (default for <code>exiv2</code> commandline tool).<br/><br/>
That said, if you extract and save original metadata and supply them in gallery source XML files, you may be able to display more EXIF information at the end. It's wise to either point to an original RAW file or (to save space) use the <code>exiv2</code> commandline tool to extract the metadata.<br/>
Example: <code>exiv2 -eeic -f *.cr2</code> extracts EXIF, IPTC and JPEG Comment information to separate .exv files for all Canon CR2 files.<br/><br/>
Turning the setup key /gallery_setup/images/write_supplied_exif on will write supplied data to all generated image files (except of thumbnails which are always special).
]]></title_description>
<metadata>
<external_exif src="exif/5l9a4978.exv" />
</metadata>
</item>
<item src="img_1453c.jpg">
<title>Time zone shift</title>
<title_description><![CDATA[This item uses external EXIF metadata from last example, combined with manual time zone correction. This is useful if you forgot to correct time in the camera, e.g. when travelling and crossing multiple timezones or by different DST settings.<br/><br/>
Values can be specified either in preferred <code>±hh:mm</code> format specifying exact hour and minutes, or, alternatively, by simplified plain float format (e.g. <code>1</code>, <code>-2</code>, <code>+0.5</code>) where the number represents hours. Beware that in the latter case there may be precision issues converting float format to minutes.<br/><br/>
Changes can be made locally for specific item or globally for whole album (with the former taking priority).<br/><br/>
All such changes are written in generated image files in all present metadata fields. This also applies for user supplied images which are normally not supposed to be changed or resized.<br/><br/>
Please note that source timestamps to shift are taken from image file metadata, so that if external EXIF metadata are being used for the particular item but are not set to be written back in the image, datetime shifting may take place on incorrect timestamp. This is normally not a problem since the external EXIF metadata feature was introduced to typically regain lost data from RAW conversion and timestamps should match. This may be subject to change in future.
]]></title_description>
<metadata>
<external_exif src="exif/5l9a4978.exv" />
<timezone shift="+02:15" />
</metadata>
</item>
</items>
</gallery>
|