diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2014-09-15 23:45:14 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2014-09-15 23:45:14 +0200 |
| commit | d8708c220afc84549e5e4feaa09f32aa46aba4b5 (patch) | |
| tree | 5c5f3a2aca7de56737a739e667c5f428321d3c34 /sample | |
| parent | 2ab38412b14f38202b364558031ddb7db357f1ec (diff) | |
| download | cataract-d8708c220afc84549e5e4feaa09f32aa46aba4b5.tar.xz | |
theming: Allow themes to use different thumbnail image sizes
This change makes thumbnail image sizes more flexible by explicitly
stating the particular image size is a thumbnail. And each thumbnail
image size can have different squared settings.
On the theme side it's now mandatory to specify which thumbnail size
to use (if applicable). This allows us to have different thumbnail styles
for index and album pages.
This commit also removes the <squared_thumbnails> tag from setup.xml
file but retains fallback for ver. 1 setup.xml files.
Diffstat (limited to 'sample')
| -rw-r--r-- | sample/src/setup.xml | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sample/src/setup.xml b/sample/src/setup.xml index 327659d..6487f60 100644 --- a/sample/src/setup.xml +++ b/sample/src/setup.xml @@ -40,12 +40,6 @@ <!-- - override with <fullsize/> for album or for separate image --> <!-- <nofullsize /> --> - <!-- Make thumbnails squared, crop in different ways: --> - <!-- none - no squared thumbnails, retain previous behaviour (default) --> - <!-- simple - crop from center, shave 5% from borders --> - <!-- ... more to come! (looking for a fast and clever algorithm) --> - <squared_thumbnails type="none" /> - <!-- autorotate input images according to EXIF information, unless --> <!-- provided in the album source file (copy mode) (default = yes) --> <autorotate value="yes" /> |
