Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoracsfer <carlos@reendex.com>2021-12-12 18:42:34 +0300
committerSimon L. (Rebase PR Action) <szaimen@e.mail.de>2022-02-20 23:31:25 +0300
commit1a2cfff8503b52f165a6e1c2243a4880f20f64fd (patch)
treeb174bbc35ae49f96673c2fc543673b17620573d2
parent517a0015ad48ddda099b7f2cd07307fea0addcdd (diff)
Clarify `preview_max_filesize_image` behavior
Fix https://github.com/nextcloud/server/issues/30220
-rw-r--r--config/config.sample.php5
1 files changed, 3 insertions, 2 deletions
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
*/