Merge pull request #30225 from nextcloud/fix-30220

Clarify `preview_max_filesize_image` behavior
pull/31328/head
Simon L 2022-02-21 10:39:24 +07:00 committed by GitHub
commit 99e7f33550
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

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