I came across this problem for the first time today. Between one day and the next, image upload started giving an error. The files were still uploading, but not being crunched (resized into different sizes for use on the site). The images appeared in the media library with a default greyed out square thumbnail.

Via Google, I came across a few suggestions that you have probably already seen.

1. Check file permissions on the upload folder

2. Delete htaccess

3. Check if media upload works for smaller files (if so, your server settings need to be changed for larger files)

4. Disable all plugins and see if you can upload images (checking for conflicts)

None of these worked for me.

Finally, I saw a suggestion that ImageMagick was broken (potentially because of your web host) and to try this mini plugin called Default-to-GD, available for free on GitHub.


I downloaded the ZIP, added the plugin via the Plugins > Add New > Upload in WordPress. Activated. And hey, my media library was working just fine again! This points to a failure in ImageMagick, the default image library, probably caused by the host rather than you.

If you’re working on your own theme, you can do this without a plugin by putting the code right in your functions.php

Copy to Clipboard