diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2015-02-01 16:23:30 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2015-02-01 16:23:30 +0100 |
| commit | b2d0c4ea27c3885d69c9067b579a075a65ff3834 (patch) | |
| tree | 0d2ac06f9c32babe69a5b88e8c8604e2f5b4ba91 /templates/scripts-general.js | |
| parent | 97919e37642b851af85c37f751284fd62bd74019 (diff) | |
| download | cataract-b2d0c4ea27c3885d69c9067b579a075a65ff3834.tar.xz | |
theming: Introduce image size fallback mode
This changes image size handling a little bit. An optional <fallback size="xxx" />
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 <nofullsize> 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.
Diffstat (limited to 'templates/scripts-general.js')
0 files changed, 0 insertions, 0 deletions
