mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 18:26:42 +07:00
add 'preview_imaginary_url', 'preview_imaginary_key','preview_format', 'webp_quality'
Signed-off-by: JanisPlayer <54918417+JanisPlayer@users.noreply.github.com>
This commit is contained in:
@@ -101,8 +101,40 @@ 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:
|
||||
|
||||
::
|
||||
|
||||
occ config:app:set preview jpeg_quality --value="60"
|
||||
|
||||
Imaginary:
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
If you want to enable imaginary, set the url.
|
||||
Also requires the ``OC\Preview\Imaginary`` provider to be enabled:
|
||||
|
||||
::
|
||||
|
||||
<?php
|
||||
'preview_imaginary_url' => 'url',
|
||||
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user