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.

General Questions

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

Optional integration with ImageMagick as a new image manipulation backend - How


4 Posts   727 Views


30 January 2013 at 11:26am Community Member, 122 Posts


3.1 boasts the ability to use Imagemagick as in "Optional integration with ImageMagick as a new image manipulation backend" but how? I cant see a config anywhere except perhaps in Image.php:

static $backend = "GDBackend";

There is no other reference to Imagemagick or a suitable "convert" in the code that I can find.


Tony Air

2 February 2013 at 3:21pm Community Member, 13 Posts

Add to _config.php this line:

it has also few issues so here's a patch:


3 February 2013 at 12:41pm (Last edited: 3 February 2013 1:01pm), Community Member, 122 Posts

I didn't try looking for imagick as a string! Thanks for that.

Any clues as to how to get the image class to make a thumbnail from a pdf? Imagick does that fine but the default in SS is an icon

Perhaps hack the definition in File.php

Since if imagick is used people will always want pdf thumbs this should be standard.


Tony Air

4 February 2013 at 2:56am Community Member, 13 Posts

Agreed, but it's still buggy as u can see in framework/filesystem/ImagickBackend.php some variables like $destX and $destY aren't set. I guess it's just draft version.