summaryrefslogtreecommitdiffstats
path: root/lib/private/Preview
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2018-01-09 11:07:02 +0100
committerGitHub <noreply@github.com>2018-01-09 11:07:02 +0100
commit9386b07ed8c469189779949debb4483e713e3836 (patch)
treeb7d1d0b5a9d05a772c94a8c264c4a1f7be6a9327 /lib/private/Preview
parentc747d6c95d97ebb9dabe4ba7c81d9575269b0dde (diff)
parente2352cc06fbb085a5029b1a355f13add35e01ecb (diff)
downloadnextcloud-server-9386b07ed8c469189779949debb4483e713e3836.tar.gz
nextcloud-server-9386b07ed8c469189779949debb4483e713e3836.zip
Merge pull request #7731 from nextcloud/preview_size_inc
Max preview size to 4096x4096
Diffstat (limited to 'lib/private/Preview')
-rw-r--r--lib/private/Preview/Generator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Preview/Generator.php b/lib/private/Preview/Generator.php
index 70a831530ed..448a7a57580 100644
--- a/lib/private/Preview/Generator.php
+++ b/lib/private/Preview/Generator.php
@@ -168,8 +168,8 @@ class Generator {
continue;
}
- $maxWidth = (int)$this->config->getSystemValue('preview_max_x', 2048);
- $maxHeight = (int)$this->config->getSystemValue('preview_max_y', 2048);
+ $maxWidth = (int)$this->config->getSystemValue('preview_max_x', 4096);
+ $maxHeight = (int)$this->config->getSystemValue('preview_max_y', 4096);
$preview = $this->helper->getThumbnail($provider, $file, $maxWidth, $maxHeight);