Enable document and PDF previews in Nextcloud
-
Seeing as how many of you use Nextcloud (thank you @scottalanmiller and @JaredBusch for your work on the deployment script), how does one get document previews to work?
Libreoffice is installed and my config.php contains:'preview_libreoffice_path' => '/usr/bin/libreoffice', 'enabledPreviewProviders' => array( 'OC\Preview\PNG', 'OC\Preview\JPEG', 'OC\Preview\GIF', 'OC\Preview\BMP', 'OC\Preview\XBitmap', 'OC\Preview\MP3', 'OC\Preview\TXT', 'OC\Preview\MarkDown', 'OC\Preview\MSOffice2003', 'OC\Preview\MSOffice2007', 'OC\Preview\MSOfficeDoc', 'OC\Preview\OpenDocument', 'OC\Preview\PDF', ),
Yet whenever I click on an doc/docx, xls/xlsx, or pdf I'm prompted to download instead of providing me a preview.
The logs don't appear to contain any errors.
Any help would be greatly appreciated!
-
Searched the interwebs and, it appears, that Nextcloud's idea of a "preview" is, in fact, a thumbnail. Only PDF files will actually display a true "preview" when using the built-in PDF viewer app.
I guess this won't work. I was hoping for more