diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2013-04-07 18:11:42 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2013-04-07 18:11:42 +0200 |
| commit | ced9539fef270fe133cb0ad6fc04c30bd5fa2dfe (patch) | |
| tree | 91e432faf1482e7adedcd0ea6e6942861325d7dc /sample | |
| parent | d912f084ffbcae0ca4b8fdfb355d6bbd6a6d3506 (diff) | |
| download | cataract-ced9539fef270fe133cb0ad6fc04c30bd5fa2dfe.tar.xz | |
Add ability to specify thumbnail square crop hint
In simple crop square mode it's sometimes viable to specify position
of the square. This is vastly useful for portrait pictures so that you
don't crop the head off the body.
Diffstat (limited to 'sample')
| -rw-r--r-- | sample/src/CIAF_1/index.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sample/src/CIAF_1/index.xml b/sample/src/CIAF_1/index.xml index 5d9ad5a..ed9e150 100644 --- a/sample/src/CIAF_1/index.xml +++ b/sample/src/CIAF_1/index.xml @@ -26,7 +26,10 @@ <author>John Doe Jr.</author> <description>CIAF - Czech International Air Fest 2007</description> <keywords>ciaf,aircraft,military,exhibition</keywords> - </meta> + </meta> + + <!-- global thumbnail crop hint for simple square mode --> + <thumbnail crop="top" /> </general> <items> @@ -38,12 +41,14 @@ <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> + <thumbnail crop="center" /> </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> + <thumbnail crop="bottom" /> </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> @@ -114,6 +119,7 @@ <metadata> <external_exif src="exif/5l9a4978.exv" /> </metadata> + <thumbnail crop="left" /> </item> <item src="img_1453c.jpg"> @@ -132,6 +138,7 @@ <external_exif src="exif/5l9a4978.exv" /> <timezone shift="+02:15" /> </metadata> + <thumbnail crop="right" /> </item> </items> |
