From a8bdd4f99b9518b6d0df1f86a369b843ce6f1293 Mon Sep 17 00:00:00 2001 From: ernolf Date: Sat, 13 Jul 2024 12:59:22 +0200 Subject: feat(preview): move previews for imaginary pdf to own class ImaginaryPDF Signed-off-by: ernolf Signed-off-by: Daniel Kesselberg --- config/config.sample.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'config') 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 */ -- cgit v1.2.3