diff options
author | ernolf <raphael.gradenwitz@googlemail.com> | 2024-07-13 12:59:22 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2024-07-25 17:01:01 +0200 |
commit | a8bdd4f99b9518b6d0df1f86a369b843ce6f1293 (patch) | |
tree | 7709da37f4cafe3dfbaaf49250d1a0e2721dfa4b /config | |
parent | d5bb37ab0d872fb4bdb1ec61809c575a46341a25 (diff) | |
download | nextcloud-server-a8bdd4f99b9518b6d0df1f86a369b843ce6f1293.tar.gz nextcloud-server-a8bdd4f99b9518b6d0df1f86a369b843ce6f1293.zip |
feat(preview): move previews for imaginary pdf to own class ImaginaryPDF
Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 9840fcfc97c..ba0ea6d4101 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1296,7 +1296,13 @@ $CONFIG = [ /** * Set the URL of the Imaginary service to send image previews to. - * Also requires the ``OC\Preview\Imaginary`` provider to be enabled. + * Also requires the + * - ``OC\Preview\Imaginary`` + * provider to be enabled in the 'enabledPreviewProviders' array, to create previews for these mimetypes: + * bmp, x-bitmap, png, jpeg, gif, heic, heif, svg+xml, tiff, webp and illustrator. + * If you want Imaginary to also create preview images from PDF Documents, you have to add + * - ``OC\Preview\ImaginaryPDF`` + * provider as well. * * See https://github.com/h2non/imaginary */ |