« get me outta code hell

dynamic thumb size for image overlay - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/gen-thumbs.js
diff options
context:
space:
mode:
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
commit0f7e9e5dfb429b14b816370dc1472ee4c2ae82eb (patch)
tree90ad0f28f8ca18877820e5c94141fe5cebd8e6ee /src/gen-thumbs.js
parent62cd6e574b89a5bfa75dc52ef2383fddf5cbc87a (diff)
dynamic thumb size for image overlay
Diffstat (limited to 'src/gen-thumbs.js')
-rw-r--r--src/gen-thumbs.js4
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},
 };