How to switch from GD to ImageMagic as image engine?

For those joining us in 2016 or later -

you now need to do use this syntax instead:

c::set(‘thumbs.bin’, ‘/usr/local/bin/convert’);

Can we put this in the docs page on Thumbs Configuration?

As seen here:

Also, if you make a testfile.php with the contents:
<?php phpinfo() ?>

It’ll tell you which version of php you’re running in MAMP. Then you can use that to find the correct directory your mamp php.in is in. Replace the contents of that testfile.php with print(class_exists('imagick')); to test that the image magick class is available.

1 Like