diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-08 11:39:09 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-08 15:35:55 +0100 |
commit | e2352cc06fbb085a5029b1a355f13add35e01ecb (patch) | |
tree | 4a0fc8d0f74dbd17d7976a57c4379ac08ea1a780 /lib/private/Preview | |
parent | db7bde6ae6739ff0582ddc4f89f25dd515d2e5c3 (diff) | |
download | nextcloud-server-e2352cc06fbb085a5029b1a355f13add35e01ecb.tar.gz nextcloud-server-e2352cc06fbb085a5029b1a355f13add35e01ecb.zip |
Max preview size to 4096x4096
With HiDPI screens. And even normal HD screens you want more detail from
your pictures. Or the ability to somewhat zoom on you previews. For this
we need somewhat larger previews.
Moving the default to 4096x4096 is a step up. Users that want the old
behavior can still set the values in config.php
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Preview')
-rw-r--r-- | lib/private/Preview/Generator.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Preview/Generator.php b/lib/private/Preview/Generator.php index 402732ecda9..d6a6213e532 100644 --- a/lib/private/Preview/Generator.php +++ b/lib/private/Preview/Generator.php @@ -164,8 +164,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); |