summaryrefslogtreecommitdiff
path: root/sample/src/CIAF_1/index.xml
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2016-09-17 12:07:40 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2016-09-17 12:07:40 +0200
commit923c421b3cbb2d6b55f40595034a12c19fef7c1b (patch)
treec907c5189390ba8b38d1c453bb7db44b2c943ed7 /sample/src/CIAF_1/index.xml
parent6a16a08ea3e75a524cb136f4c6ada1e4eef4bfd4 (diff)
downloadcataract-923c421b3cbb2d6b55f40595034a12c19fef7c1b.tar.xz
Drop legacy nofullsize and album width/height/quality tags
This drops the legacy functionality that doesn't really fit into the new flexible design concept and makes code unnecessarily complicated. Most of these overrides affected only the "preview" image size anyway. This also makes the <item src> attribute mandatory as it's being the only source of metadata (unless overriden or supplied externally). This unfortunately breaks the so-far 100% album XML files compatibility.
Diffstat (limited to 'sample/src/CIAF_1/index.xml')
-rw-r--r--sample/src/CIAF_1/index.xml9
1 files changed, 1 insertions, 8 deletions
diff --git a/sample/src/CIAF_1/index.xml b/sample/src/CIAF_1/index.xml
index cf53d61..1172b33 100644
--- a/sample/src/CIAF_1/index.xml
+++ b/sample/src/CIAF_1/index.xml
@@ -14,8 +14,6 @@
]]>
</footnote>
- <!-- legacy behaviour: you can override global settings in each album (applies only to the "preview" image size): -->
- <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" />
@@ -55,11 +53,6 @@
<interspace><![CDATA[This is so-called intespace - simple paragraph or a block with an additional information to the section. This may be used with &lt;separator&gt; 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>
@@ -96,7 +89,7 @@
<separator>Misc.</separator>
- <item preview="preview/img_6802g.jpg" thumbnail="thumbnails/gallery_thumbnails.gif">
+ <item src="preview/img_6802g.jpg" thumbnail="thumbnails/gallery_thumbnails.gif">
<title>Custom thumbnail</title>
<title_description>This item uses supplied thumbnail</title_description>
</item>