Skip to content

Commit

Permalink
Merge pull request #14879 from oparoz/fix-preview-caching
Browse files Browse the repository at this point in the history
Introducing the maximum size preview
  • Loading branch information
MorrisJobke committed Apr 7, 2015
2 parents d28d7c4 + 74bf980 commit 6c327f8
Show file tree
Hide file tree
Showing 3 changed files with 319 additions and 138 deletions.
4 changes: 2 additions & 2 deletions config/config.sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -620,12 +620,12 @@
* The maximum width, in pixels, of a preview. A value of ``null`` means there
* is no limit.
*/
'preview_max_x' => null,
'preview_max_x' => 2048,
/**
* The maximum height, in pixels, of a preview. A value of ``null`` means there
* is no limit.
*/
'preview_max_y' => null,
'preview_max_y' => 2048,
/**
* If a lot of small pictures are stored on the ownCloud instance and the
* preview system generates blurry previews, you might want to consider setting
Expand Down
Loading

0 comments on commit 6c327f8

Please sign in to comment.