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
|
<?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>
<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.
]]></title_description>
<metadata>
<external_exif src="exif/5l9a4978.exv" />
</metadata>
</item>
</items>
</gallery>
|