Thumbnail image/icon for pdfs


I’ve uploaded a bunch of pdfs but I would like there to be an image icon for each (perhaps the first page of the document) instead of the blank paper icon with a folded corner. Is there a setting or change of the way I am uploading them (I do have individual jpgs of each page) to achieve this? Or where in the code should I look and maybe place a link to a jpg of the first page?


If you upload a .jpg and place it first in the list of files (you can reorder them on the item edit form), S will use that as the thumbnail for the item.

Omeka S can also just generate thumbnails from PDFs directly, and that’s what it will automatically do. If your install isn’t doing that, it probably just means your server is missing some piece of software it needs to make those thumbnails. Generally just having ImageMagick and Ghostscript installed is sufficient. If you’re using the “GD” thumbnailer you definitely won’t get PDF thumbnails generated.


Ah thanks! I had tried the additional jpg before and it didn’t seem to work but it is now. Thanks for the information about the server - it is not generating the thumbnails for the pdfs so I will need to look into that.


Hi there!
I have the same problem. No pdf thumbnail image generated, but I have installed imagemagick and ghostscript.
My question is: How can I find out what piece of software my server is missing for the pdf thumbnail generation to work?


Update: I don’t think there’s something mission on my server

Please check out this error I got from application.log:

2019-01-11T09:08:40+00:00 ERR (3): Command "/usr/bin/convert -density 150 '/tmp/omekaCCTAuI[0]' -auto-orient -background white +repage -alpha remove -thumbnail '800x800>' '/tmp/omekajXlRwH.jpg'" failed with status code 1.


Omeka S v1.3 has solved this issue with a new thumbnail tab. This tab is available for items, itemsets, and media files. It is awesome!