Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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:

::

Expand Down
24 changes: 24 additions & 0 deletions admin_manual/installation/server_tuning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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"