aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2022-02-21 10:39:24 +0100
committerGitHub <noreply@github.com>2022-02-21 10:39:24 +0100
commit99e7f335500fec8f0ad62d2cacd90dbe5973c4a9 (patch)
tree33ce16a62561aa4164501b0cea026498ad4a99be
parent2996f71d201ac0aaf4b087406edd01a1f22f2985 (diff)
parent3f3b89ffcdf5c7440a9f1067a3e01620b81b5a56 (diff)
downloadnextcloud-server-99e7f335500fec8f0ad62d2cacd90dbe5973c4a9.tar.gz
nextcloud-server-99e7f335500fec8f0ad62d2cacd90dbe5973c4a9.zip
Merge pull request #30225 from nextcloud/fix-30220
Clarify `preview_max_filesize_image` behavior
-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..c433fb51d23 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 image previews on all file sizes.
*
* Defaults to ``50`` megabytes
*/