Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-01-08 13:42:36 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-01-08 13:42:36 +0300
commit1e74c8fba976698b60a8db7b6aa76cca0db426af (patch)
tree2cf5f163547841ad617393196831cfa6bac5e1ac /config
parentecf885046459253fbe4599600db241b9e36fa61a (diff)
The max_scale_factor is not used anymore.
We never generate previews larger than the original. So the config setting can be removed. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 05efcaa2738..7a815657ef4 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -859,15 +859,6 @@ $CONFIG = array(
* Defaults to ``2048``
*/
'preview_max_y' => 2048,
-/**
- * If a lot of small pictures are stored on the Nextcloud instance and the
- * preview system generates blurry previews, you might want to consider setting
- * a maximum scale factor. By default, pictures are upscaled to 10 times the
- * original size. A value of ``1`` or ``null`` disables scaling.
- *
- * Defaults to ``2``
- */
-'preview_max_scale_factor' => 10,
/**
* max file size for generating image previews with imagegd (default behavior)