diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-03-01 22:23:20 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-03-01 22:23:20 -0400 |
commit | 0f7e9e5dfb429b14b816370dc1472ee4c2ae82eb (patch) | |
tree | 90ad0f28f8ca18877820e5c94141fe5cebd8e6ee /src/gen-thumbs.js | |
parent | 62cd6e574b89a5bfa75dc52ef2383fddf5cbc87a (diff) |
dynamic thumb size for image overlay
Diffstat (limited to 'src/gen-thumbs.js')
-rw-r--r-- | src/gen-thumbs.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gen-thumbs.js b/src/gen-thumbs.js index 21402cb6..64f1f27a 100644 --- a/src/gen-thumbs.js +++ b/src/gen-thumbs.js @@ -78,7 +78,9 @@ const CACHE_FILE = 'thumbnail-cache.json'; const WARNING_DELAY_TIME = 10000; const thumbnailSpec = { - 'huge': {size: 1600, quality: 95}, + 'huge': {size: 1600, quality: 90}, + 'semihuge': {size: 1200, quality: 92}, + 'large': {size: 800, quality: 93}, 'medium': {size: 400, quality: 95}, 'small': {size: 250, quality: 85}, }; |