Browse Source

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>
tags/v13.0.0RC1
Roeland Jago Douma 6 years ago
parent
commit
1e74c8fba9
No account linked to committer's email address
1 changed files with 0 additions and 9 deletions
  1. 0
    9
      config/config.sample.php

+ 0
- 9
config/config.sample.php View File

@@ -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)

Loading…
Cancel
Save