summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-01-08 11:39:09 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-01-08 15:35:55 +0100
commite2352cc06fbb085a5029b1a355f13add35e01ecb (patch)
tree4a0fc8d0f74dbd17d7976a57c4379ac08ea1a780 /config
parentdb7bde6ae6739ff0582ddc4f89f25dd515d2e5c3 (diff)
downloadnextcloud-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 'config')
-rw-r--r--config/config.sample.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 7a815657ef4..5f29933ec65 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -849,16 +849,16 @@ $CONFIG = array(
* The maximum width, in pixels, of a preview. A value of ``null`` means there
* is no limit.
*
- * Defaults to ``2048``
+ * Defaults to ``4096``
*/
-'preview_max_x' => 2048,
+'preview_max_x' => 4096,
/**
* The maximum height, in pixels, of a preview. A value of ``null`` means there
* is no limit.
*
- * Defaults to ``2048``
+ * Defaults to ``4096``
*/
-'preview_max_y' => 2048,
+'preview_max_y' => 4096,
/**
* max file size for generating image previews with imagegd (default behavior)