From b2d0c4ea27c3885d69c9067b579a075a65ff3834 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 1 Feb 2015 16:23:30 +0100 Subject: theming: Introduce image size fallback mode This changes image size handling a little bit. An optional tag tells the generator to use different image size when an image for the current image size has not been supplied from the album XML file. This is effectively used for the legacy tag fallback. More generally this is useful for templates showing additional image sizes. Also saves space as images not having the custom size supplied are not generated from the source image. --- src/setup.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/setup.h') diff --git a/src/setup.h b/src/setup.h index d772360..d34906d 100644 --- a/src/setup.h +++ b/src/setup.h @@ -105,6 +105,7 @@ typedef struct { int crop_height; int quality; gboolean no_resize; + gchar *fallback_size; TCropStyle thumb_crop_style; } TImageSize; -- cgit v1.2.3