-
Nextcloud Preview Providers that can be added to the
enabledPreviewProvidersarray in theconfig/config.phpfile.
No External Dependencies
These providers can be enabled without any additional software dependencies.
OC\Preview\PNGOC\Preview\JPEGOC\Preview\GIFOC\Preview\BMPOC\Preview\XBitmapOC\Preview\MarkDownOC\Preview\MP3OC\Preview\TXTOC\Preview\Krita
ImageMagick Dependency
These providers require the ImageMagick extension to be installed and enabled.
OC\Preview\SVGOC\Preview\TIFFOC\Preview\PDFOC\Preview\IllustratorOC\Preview\PhotoshopOC\Preview\PostscriptOC\Preview\FontOC\Preview\HEICOC\Preview\TGAOC\Preview\SGI
Office Dependency
These providers require LibreOffice or OpenOffice to be installed.
OC\Preview\MSOfficeDocOC\Preview\MSOffice2003OC\Preview\MSOffice2007OC\Preview\OpenDocumentOC\Preview\StarOfficeOC\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
therefore this fantasy providers do not exist:OC\Preview\MKVOC\Preview\MP4OC\Preview\AVI
- 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
enabledPreviewProvidersarray in theconfig/config.phpfile.
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
enabledPreviewProvidersarray in theconfig/config.phpfile.
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\PDFis 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