summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2008-08-10 16:31:23 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2008-08-10 16:31:23 +0200
commite291c5c25b81c9e944523227ea55f7f96e2472ca (patch)
tree2e6a9fd21517d961c51eba2bde1b9f89f8d57c4b /sample
parent7f74efd63d8026e1d11d33aa9f3b236127bb89dc (diff)
downloadcataract-e291c5c25b81c9e944523227ea55f7f96e2472ca.tar.xz
Support for supplied thumbnails
(useful if you have framed preview and original images and want to have non-framed thumbnails)
Diffstat (limited to 'sample')
-rw-r--r--sample/src/CIAF_1/index.xml5
l---------sample/src/CIAF_1/preview/img_6802g.jpg1
-rw-r--r--sample/src/CIAF_1/thumbnails/gallery_thumbnails.gifbin0 -> 729 bytes
3 files changed, 6 insertions, 0 deletions
diff --git a/sample/src/CIAF_1/index.xml b/sample/src/CIAF_1/index.xml
index fe98cc2..ed374a0 100644
--- a/sample/src/CIAF_1/index.xml
+++ b/sample/src/CIAF_1/index.xml
@@ -68,5 +68,10 @@
<title_description>This particular image overrides both global and album border styles.</title_description>
</item>
+ <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>
+
</items>
</gallery>
diff --git a/sample/src/CIAF_1/preview/img_6802g.jpg b/sample/src/CIAF_1/preview/img_6802g.jpg
new file mode 120000
index 0000000..d6b7d1d
--- /dev/null
+++ b/sample/src/CIAF_1/preview/img_6802g.jpg
@@ -0,0 +1 @@
+img_6802.jpg \ No newline at end of file
diff --git a/sample/src/CIAF_1/thumbnails/gallery_thumbnails.gif b/sample/src/CIAF_1/thumbnails/gallery_thumbnails.gif
new file mode 100644
index 0000000..4c35c6c
--- /dev/null
+++ b/sample/src/CIAF_1/thumbnails/gallery_thumbnails.gif
Binary files differ