Jump to:

23491 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » 3.1 ImageMagick PDF Request

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

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

Page: 1
Go to End
Author Topic: 304 Views
  • tazzydemon
    Community Member
    122 Posts

    3.1 ImageMagick PDF Request Link to this post


    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.


  • tazzydemon
    Community Member
    122 Posts

    Re: 3.1 ImageMagick PDF Request Link to this post

    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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.