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
|
<?xml version="1.0" encoding="utf-8"?>
<design_setup>
<!-- image size definitions -->
<image_sizes>
<!-- "original", "preview" and "thumbnail" sizes are somewhat special here
in order to keep compatibility with previous versions. In case when
"original" size is not available due to <nofullsize> tag present,
the "preview" size will be used instead. -->
<!-- Meaning of "original" is shifted here from previous versions;
it's considered more like a bigger preview size for large screens now. -->
<!-- corresponds with mandatory <item src> tag in album source file -->
<size name="original">
<landscape w="1200" h="800" />
<portrait w="1024" h="1024" />
<quality value="97" />
<!-- With presence of the "no_resize" tag, no resizing will be done and
image file will be copied as is (this is a default for backwards
compatibility). -->
<no_resize />
</size>
<!-- corresponds with optional <item preview> tag in album source file -->
<size name="preview">
<landscape w="1067" h="600" />
<portrait w="800" h="800" />
<quality value="95" />
</size>
<!-- Thumbnail section is mandatory. -->
<!-- corresponds with optional <item thumbnail> tag in album source file -->
<size name="thumbnail">
<landscape w="180" h="120" />
<portrait w="120" h="180" />
<square size="180" />
<quality value="80" />
</size>
<!-- Here you can define custom sizes which will be generated from the file
defined in <item src> tag. Currently, there's no way how to supply custom
sized images from album source file (might be changed in the future). -->
<size name="mobile">
<landscape w="320" h="240" />
<portrait w="240" h="320" />
<quality value="90" />
</size>
</image_sizes>
<!-- Global support files, common files used by several themes. -->
<supplemental_files><![CDATA[
]]></supplemental_files>
<!-- particular design setup -->
<theme enabled="yes">
<!-- When the <index> structure is missing, album design will be used for
both list of albums and list of pictures. -->
<index>
<template>template_index.html</template>
<target_filename>index.html</target_filename>
</index>
<!-- This is mandatory. -->
<album>
<template>template_album.html</template>
<target_filename>index.html</target_filename>
<!-- which picture size to use for XXX tags (TODO) -->
<picture_size>preview</picture_size>
</album>
<!-- When the <picture> structure is missing, no pages for the particular
images will be generated. Images are processed in either case, for use
with album alone. -->
<picture>
<template>template_picture.html</template>
<!-- '%s' will be replaced with actual picture filename -->
<target_filename>%s.html</target_filename>
<!-- which picture size to use -->
<picture_size>preview</picture_size>
</picture>
<!-- support files for current theme -->
<!-- should include all used CSS styles, images, scripts... -->
<!-- subdirectories are allowed and will be mirrored to destination -->
<supplemental_files><![CDATA[
styles.css
scripts-general.js
]]></supplemental_files>
<!-- User defines, used in theme templates. Value is optional, empty string
will be used if value was requested but not specified. Defines can either
act as block conditionals (combo "ifdef(DEFINE_NAME)" and "endif(DEFINE_NAME)")
or as a value constant (specify "value(DEFINE_NAME)" to retrieve the value).
For "ifdef" negation, use "ifndef" or "else". -->
<define name="BORDER" value="single" />
<define name="I_AM_HERE" />
</theme>
<!-- Here you can define another theme, with different templates etc.
The purpose is to allow switching between them or as a result of
device capabilities autodetection. Don't forget to change target
filenames to avoid conflicts. -->
</design_setup>
|