WordPress patches
ImageMagick for WordPress
My hosting provider restricts the max memory allocation of PHP to 64MB. With WordPress not being the lightest weight service already I found with many plugins activated I was having problems uploading images which would be resized to thumbnail and medium sizes. Since ImageMagick was available on the server I threw together a replacement for the GD based image_resize using ImageMagick’s convert. The patch should apply cleanly to WordPress 2.6.5 and 2.7.0 with a fuzz of 3.
It patches wp-includes/media.php
patch -F 3 -p0 < wp_gd2im_mediaphp.patch
| Release | Size | Downloads |
| wp_gd2im_mediaphp.patch | 4 kB | 2925 |