Icon instead of thumbnail for PDF in list view

Lunken

New Member
Hi all.

After spending quite some googling time I might as well throw the question I have to you folks.

I try to have a list showing thumbnails of uploaded photos which works as it should. But if a user instead upload a PDF the icon that is shown is broken as in attached image.

So, how do i do to make a PDF-icon to show instead of the broken picture?

Cheers
Henrik

Screenshot%20from%202014-11-08%2018%3A51%3A40.png
 
Perhaps you don't have ImageMagick in your server. With IM it should create thumbs from pdf, at least it was so when this feature was added
 
Ah, and I don't have permission to install it either. But I guess it should be possible to have a script publishing an icon when the file is a .pdf?
 
PDF thumbnail would serve, but since I didn't think that worked an icon is sufficient. Any solution goes...
 
The Github code got the work done to achieve the icon.... great help! thanks!
And if I want the thumbnail ImageMagick probably is the villain?
 
Back
Top