Add setting for thumbnail scaling
Some checks failed
DokuWiki Default Tasks / all (push) Has been cancelled

This commit is contained in:
2026-01-06 14:23:16 +01:00
parent 2e1e5feba9
commit f8d5dafc62
6 changed files with 36 additions and 6 deletions

View File

@@ -12,6 +12,10 @@ $conf['extensions'] = '';
// MediaManager ID for gallery thumbnail placeholder
$conf['thumb_placeholder'] = ':wiki:thumb-placeholder.png';
// Multiplier for gallery thumbnail generation size (1 = 150x150, 2 = 300x300).
// Thumbnails are still displayed as 150x150 on the page.
$conf['gallery_thumb_scale'] = 1;
// Local opener service used by {{open>...}}.
$conf['open_service_url'] = 'http://127.0.0.1:8765';
$conf['open_service_token'] = '';

View File

@@ -14,5 +14,8 @@ $meta['extensions'] = array('string');
$meta['thumb_placeholder'] = array('string');
// Thumbnail generation scale factor for the {{images>...}} gallery.
$meta['gallery_thumb_scale'] = array('string');
$meta['open_service_url'] = array('string');
$meta['open_service_token'] = array('string');