Skip to content

Commit 6c327f8

Browse files
committed
Merge pull request #14879 from oparoz/fix-preview-caching
Introducing the maximum size preview
2 parents d28d7c4 + 74bf980 commit 6c327f8

File tree

3 files changed

+319
-138
lines changed

3 files changed

+319
-138
lines changed

config/config.sample.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,12 +620,12 @@
620620
* The maximum width, in pixels, of a preview. A value of ``null`` means there
621621
* is no limit.
622622
*/
623-
'preview_max_x' => null,
623+
'preview_max_x' => 2048,
624624
/**
625625
* The maximum height, in pixels, of a preview. A value of ``null`` means there
626626
* is no limit.
627627
*/
628-
'preview_max_y' => null,
628+
'preview_max_y' => 2048,
629629
/**
630630
* If a lot of small pictures are stored on the ownCloud instance and the
631631
* preview system generates blurry previews, you might want to consider setting

0 commit comments

Comments
 (0)