Merge pull request #10256 from JanisPlayer/patch-2

This commit is contained in:
Simon L
2023-09-05 11:48:26 +02:00
committed by GitHub
2 changed files with 25 additions and 1 deletions

View File

@@ -101,7 +101,7 @@ to 'null':
JPEG quality setting:
^^^^^^^^^^^^^^^^^^^^^
Default JPEG quality setting for preview images is '90'. Change this with:
Default JPEG quality setting for preview images is '80'. Change this with:
::

View File

@@ -196,3 +196,27 @@ Nextcloud to use Imaginary by editing your `config.php`:
.. note::
For large instance, you should follow `Imaginary's scalability recommandation <https://github.com/h2non/imaginary#scalability>`.
Settings:
^^^^^^^^^
If you want set the preview format for imaginary.
You can change between jpeg and webp, the default is jpeg:
::
<?php
'preview_format' => 'webp',
If you want set a api key for imaginary':
::
<?php
'preview_imaginary_key' => 'secret',
Default WebP quality setting for preview images is '80'. Change this with:
::
occ config:app:set preview webp_quality --value="30"