Post-processing of the image failed likely because the server is busy or does not have enough resources. Uploading a smaller image may help. The suggested maximum size is 2500 pixels.
Why Am I Getting the Fix the Post-Processing of the Image Failed Error in WordPress?
As you probably know, you get the above error when you try to upload an image in WordPress. In my case, this appeared overnight, and while I know something had to have changed or updated, I couldn’t tell you what it was. The trouble was the image I was uploading was most definitely meeting the sizing criteria listed in the error. It was only 1100px wide. So something else was going on.
It turns out that when you get this error it’s because your PHP settings have maxed out.
Now if you’re not technical, don’t let that spook you. It just means that the coding language that runs your website needs more room to operate on the server. Think of it as needing more elbow room to do its thing.
Here are the step-by-step instructions on how to use cPanel, the interface that comes with your hosting package, to fix the error.
If you’re not technical you can always just call your hosting company and ask them to “set your PHP settings to their maxes” and that will get you this same result.
Here’s How to Fix the Post-Processing of the Image Failed Error Manually:
Note: I recently came across another way to fix this error. I will say Method 1 below has worked for YEARS. It wasn’t until today that I guess my site got big enough that Method 2 was required.
Log into your cPanel – most often it’s just at yourdomainname.com/cpanel
(This will be the login information you received from your host to log into that account.)
Scroll down to “Software” and click on “Select PHP Version.”
On the next screen you’ll see what PHP version you’re currently set at and a couple of tabs. Click on the “Options” tab.
From here all you need to do is set your memory_limit line to the max in the drop down – in my case, this was 512M. It saves when you select it, so don’t worry about having to hit a “Save” or “Commit” button anywhere.
Method 2 – Swap your PHP Extensions
This one is probably going to require your hosting company to jump on board with some tech support, but if Method 1 didn’t help resolve the issue, this worked right away when I ran into this error again years later and was already maxed out on my PHP Memory Limit size.
You need to ask your host to disable the gd php extension, and enable the imagic extension.
I’m still a little fuzzy as to why one’s better than the other, but it did fix it immediately.
Now before you close out this window, go to your WordPress post/page that you were working on, refresh the page, and try the image upload again.
It should work now. If it doesn’t you may have to clear your cache (or try it in a Chrome Incognito window).