-
Nextcloud Preview Providers that can be added to the
enabledPreviewProviders
array in theconfig/config.php
file.
No External Dependencies
These providers can be enabled without any additional software dependencies.
OC\Preview\PNG
OC\Preview\JPEG
OC\Preview\GIF
OC\Preview\BMP
OC\Preview\XBitmap
OC\Preview\MarkDown
OC\Preview\MP3
OC\Preview\TXT
OC\Preview\Krita
ImageMagick Dependency
These providers require the ImageMagick extension to be installed and enabled.
OC\Preview\SVG
OC\Preview\TIFF
OC\Preview\PDF
OC\Preview\Illustrator
OC\Preview\Photoshop
OC\Preview\Postscript
OC\Preview\Font
OC\Preview\HEIC
OC\Preview\TGA
OC\Preview\SGI
Office Dependency
These providers require LibreOffice or OpenOffice to be installed.
OC\Preview\MSOfficeDoc
OC\Preview\MSOffice2003
OC\Preview\MSOffice2007
OC\Preview\OpenDocument
OC\Preview\StarOffice
OC\Preview\EMF
Imaginary Dependency
These providers require the Imaginary service to be set up.
OC\Preview\Imaginary
Imaginary supports these MIME types:- image/bmp
- image/x-bitmap
- image/png
- image/jpeg
- image/gif
- image/heic
- image/heif
- image/svg+xml
- image/tiff
- image/webp
- application/illustrator
- application/pdf (NC < 30)
OC\Preview\ImaginaryPDF
(since NC 30)- application/pdf
AVConf/FFmpeg Dependency
These providers require AVConf/FFmpeg to be installed.
OC\Preview\Movie
- All video MIME types supported by avconf/ffmpeg
Additional Providers
These providers support specific file types and might require additional configuration.
OC\Preview\WebP
// // Requires PHP support for WebP images (php-gd)
-
Preview providers that do not need to be added to the
enabledPreviewProviders
array in theconfig/config.php
file.
OC\Preview\Image
: This provider is used internally and extended by other image providers. Adding OC\Preview\Image
is unnecessary as it is automatically used by the specific image providers (PNG, JPEG, GIF, etc.).
-
Nextcloud Preview Providers that can NOT be added to the
enabledPreviewProviders
array in theconfig/config.php
file.
Nextcloud Office
Nextcloud Office also creates thumbnails if the Collabora Office Server supports this. The Builtin CODE Server supports this and this support cannot be deactivated.
The Previews created by Nextcloud Office can not be changed in any way in the enabledPreviewProviders
array in the config/config.php
file.
- image/emf
- application/vnd.ms-excel
- application/msword
- application/vnd.openxmlformats-officedocument.*
- application/vnd.oasis.opendocument.*
- .odt, .ott, .oth, .odm, .odg, .otg, .odp, .otp, .ods, .ots, .odc, .odf, .odb, .odi, .oxt
- application/pdf (only if
OC\Preview\PDF
is not set)
I hope I did not oversee any.
This is the actual situation. This may (/will) change in future.
Much and good luck,
ernolf