Browse Source

Clarify `preview_max_filesize_image` behavior

Fix https://github.com/nextcloud/server/issues/30220
tags/v24.0.0beta1
acsfer 2 years ago
parent
commit
1a2cfff850
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      config/config.sample.php

+ 3
- 2
config/config.sample.php View File

@@ -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
*/

Loading…
Cancel
Save