Skip to content

Commit fe54597

Browse files
authored
Merge pull request #10256 from JanisPlayer/patch-2
2 parents 607b878 + f42e300 commit fe54597

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

admin_manual/configuration_files/previews_configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ to 'null':
101101
JPEG quality setting:
102102
^^^^^^^^^^^^^^^^^^^^^
103103

104-
Default JPEG quality setting for preview images is '90'. Change this with:
104+
Default JPEG quality setting for preview images is '80'. Change this with:
105105

106106
::
107107

admin_manual/installation/server_tuning.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,27 @@ Nextcloud to use Imaginary by editing your `config.php`:
196196
.. note::
197197

198198
For large instance, you should follow `Imaginary's scalability recommandation <https://github.com/h2non/imaginary#scalability>`.
199+
200+
Settings:
201+
^^^^^^^^^
202+
203+
If you want set the preview format for imaginary.
204+
You can change between jpeg and webp, the default is jpeg:
205+
206+
::
207+
208+
<?php
209+
'preview_format' => 'webp',
210+
211+
If you want set a api key for imaginary':
212+
213+
::
214+
215+
<?php
216+
'preview_imaginary_key' => 'secret',
217+
218+
Default WebP quality setting for preview images is '80'. Change this with:
219+
220+
::
221+
222+
occ config:app:set preview webp_quality --value="30"

0 commit comments

Comments
 (0)