Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

3.1 ImageMagick PDF Request

Go to End

2 Posts   654 Views


Community Member, 135 Posts

29 April 2013 at 2:26pm


One huge advantage of ImageMagick (IMHO) is that it can make images out of PDFs. Many clients want thumbnails of their pdfs so that they can link to that.

So, I rather naively told File.php that .pdf files were Images, hoping that a thumbnail would just be created. Doh!

But I did copy a pdf as a png (ludicrous I know) and lo and behold the system made a thumb out of it and it worked.

I am therefore suggesting that if a pdf is uploaded, the upload system is arranged to make a png or jpg copy of the pdf and store that as well so it can be used for link purposes. I think this would a a popular idea. I will try to present an example myself.



Community Member, 135 Posts

29 April 2013 at 2:28pm

By the way, is the correct syntax with ImageMagick config


backend: 'ImagickBackend'

or _config.php:


When to use the different type of config and what the arguments might be as as clear as mud.