i'm looking around for a solution since weeks and can't make anything work yet. the problem is that my server is running debian/lenny and it's not supporting the bundled gd_lib which i need for thumbnailing/cropping stuff.

but i could make use of imagick or imagemagick (package vs plugin). my question is: is there any way to replace the gd functions in media.php with the ones from imagick? AND is there a smarter way then modiyfing the media.php to do so?


  • And it's bounty time! Extra rep for who can offer a complete solution to this problem. – Jan Fabry Dec 29 '10 at 18:17
  • I'm running Debian Lenny with GD freetype version 2.3.7 and all thumbnail cropping etc. works fine. Can you run a phpinfo and report back with whats listed under GD? – Chris_O Dec 29 '10 at 18:35
  • The time is up for the bounty, and because I don't want to waste it I gave it to somatic's only answer (he would have gotten half of it if I did nothing). – Jan Fabry Jan 5 '11 at 16:06


Orangelab has built a plugin which can replace WP's use of GD with Imagemagick (provided it's already installed on your server - it's not included) for creation of all image sizes and thumbs, and even regenerate existing images too!

For anyone who cares about image fidelity, this is huge deal, as GD does not handle color profile preservation or conversion (resulting in horrible desaturation), and also ends up softening any image it converts...


  • i gave that a try last week but they confirmed to me that by now it's just working for image resizing and not for cropping :( – user1735 Nov 29 '10 at 17:33
  • nice. looks like they upadated their plugin and it now supports cropping.. i'll give it a test run again and report back – user1735 Jan 24 '11 at 15:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy