I’m trying to get my nextcloud instance to show thumnail images of pdf files when in the new grid view in Nextcloud 15.
In the demo (demo.nextcloud.com) when viewing in grid view this works just as I would like it to. However, a new fresh instance of nextcloud (installed from the nextcloud docker) doesn’t have this. I don’t see any difference in the settings between my instance and the demo instance.
What do I need to do to make pdf thumbnails show up like the demo instance has?
Can you give any more details? I searched google for “nextcloud ghostscript” but most of the results had to do with people’s posts about problems with previewgenerator.
How do I install ghostscript? Is there a way to tell if it is already installed? If ghostscript is for creating a preview of PDF files (which based on its website it seems to be) then I must already have it installed because I can see PDFs in nextcloud no problem when I click on the filename (opens in a full-sized preview of the entire PDF). Doesn’t that mean I must already have ghostscript?
The problem I’m having is with there being no thumbnail preview of a file in the grid view. I can see PDFs when they are clicked on to open just fine.
Well, shame on me for just assuming that it couldn’t be a imagemagick/ghostscript problem.
I did docker exec -it nextcloud /bin/bash to get into my nextcloud docker
Then I did apt update and then apt install imagemagick and let it install
And then went back to nextcloud in the browser, and just like that, pdf icon previews are working!
I’ve been looking for this for months! So far I had PDF thumbnails enabled in some config file but apparently that was not enough. Installing imagemagick did the trick and the PDF thumbnails appeared instantly!
I really can’t understand why they don’t document on how to get such a primitive thing like thumbnails off the ground. If it is a security issue then they could at least document how to set it up on a private instance.