From 1a2cfff8503b52f165a6e1c2243a4880f20f64fd Mon Sep 17 00:00:00 2001 From: acsfer Date: Sun, 12 Dec 2021 16:42:34 +0100 Subject: Clarify `preview_max_filesize_image` behavior Fix https://github.com/nextcloud/server/issues/30220 --- config/config.sample.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/config.sample.php b/config/config.sample.php index f861df2a7ce..5cea02f822f 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1067,9 +1067,10 @@ $CONFIG = [ 'preview_max_y' => 4096, /** - * max file size for generating image previews with imagegd (default behavior) + * Max file size for generating image previews with imagegd (default behavior). * If the image is bigger, it'll try other preview generators, but will most - * likely show the default mimetype icon. Set to -1 for no limit. + * likely either show the default mimetype icon or not display the image at all. + * Set to ``-1`` for no limit and try to generate previews on all images sizes. * * Defaults to ``50`` megabytes */ -- cgit v1.2.3