How To Fix the WordPress Error:
“Post-Processing of the Image Failed Likely Because the Server is Busy…”
Do you have this error?
The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. The suggested maximum size is 2560 pixels.
But your image is not large at all, and you can’t contact your live hosting support as well?
Do you want the idea how to resolve this? First take a backup of your site using app like All-in-one WP Migration.
Occasionally, you might see the following error when uploading an image to the Media Library. The issue can also occur when uploading an image in a Gutenberg block, Elementor or other page builder image widget or image area, etc.
The error is related to how WordPress 5.3+ handles uploaded images with very large dimensions.
It is not uncommon for users to upload images directly off a camera. Any digital camera with a sensor over 6-megapixels (MP) will commonly yield images over 2500 pixels on the long edge. These images are much larger resolution that commonly needed for the web. Even a new 2K monitor’s full width is only 2560 pixels. A 4K monitor has a width of 3840 pixels. The most common screen resolutions for your website visitors are much, much smaller. So, when uploading an image over 2500 pixels on the longest dimension, WordPress will attempt to reduce the image to ~2500 pixels and save that version as the “Full” sized image version.
If that process was flawless, you probably wouldn’t be reading this post. So, how to fix the error:
Basic Troubleshooting
Before venturing on too far, double check some of the easiest potential causes. These probably won’t fix the issue, but you should get them out of the way just in case:
- Is your image larger that 2500 pixels on the long edge? If so, try reducing its size prior to upload.
- Try the upload in a different web browser.
- Check your filename. Are there any odd characters there, or is it just plain alphanumeric (A-Z/a-z and 0-9) with perhaps underlines or hyphens? On a side note, generally I prefer rename files to use filenames that are representative of the image’s usage context and content, e.g., header-my-page-name.jpg for the header image of a given page, footer-background.jpg for a footer background (go figure), or about-mr-lastname.jpg for a headshot on an About page. No filenames right off the camera, no odd unicode characters, no random characters carried over from other usages or file systems.
- Try peforming a hard refresh for the edit page in question (where the editor is shown, not the public, published page). Typically, a hard refresh would be Control + F5 in Chrome, Control + Shift + R in Firefox or Edge, Command + R in Safari.
- Try emptying your web browser’s cache at least for the site in question.
Common Fixes
- Bypass the check for large images. This is the solution that tends to work for many. Technically, it’s a workaround and not a fix.
- Go to Appearance tab->Theme Editor
- Add the following code to the functions.php of your WordPress theme or child theme:
add_filter( 'big_image_size_threshold', '__return_false' );
- Or Install and activate the WordPress plugin “Disable ‘BIG Image’ Threshold” plugin. This plugin basically implements the above fix and may be more convenient for some folks.
When That Doesn’t Work: “Advanced” Troubleshooting
These are advanced in the sense of taking a bit more time, a bit more access, or a bit more potential impact on your site’s uptime.
- Use GD Library instead of ImageMagick for image processing. Add the following to your WordPress theme’s function.php file.
add_filter('wp_image_editors', function($editors) {
return ['WP_Image_Editor_GD', 'WP_Image_Editor_Imagick'];
}) - Verify your upload limit. The web server typically has each account set to a maximum file upload size, such as 10MB-128MB. Is it instead set to something small in the vicinity of your large image’s size, e.g. 1-2MB. Generally, you will need to ask your host about this setting. You can try to set this value in your php.ini or .htaccess file, but in most cases any values set in those file will be overidden by the web server’s settings.
- Check your hosting account’s memory usage. If your account received high amounts of traffic or is involved (perhaps temporarily) in memory or CPU intensive activities such as backups, etc., it may be legimately running out of resources. In my experience this is seldomly the cause, but check.
- Swap your current PHP version. You may try to set the PHP version used on the site to a different version, for example PHP 7.3 instead of versions 7.2, 7.4 or 8.0, etc. Be careful in doing so in case the PHP version change causes issues with the proper function of the site. Ideally, test this only if you have direct access to the PHP setting, or have extremely responsive technical support from your host (that is, don’t file a ticket for a potentially site breaking PHP version change if the average turnaround time on tickets is more that a few minutes or whatever you consider acceptable downtime.).
- Swap to a basic WordPress theme and retest the upload process. It’s probably best to move your site to a staging server first and test there unless you are not yet in production.
This is the solution for all the people searching on search engine like google the following words;
The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. Suggested maximum size is 2560 pixels. ,post-processing of the image failed if this is a photo or a large image scale it down to 2500 pixels
If are tired of facing all these errors and want an easy way out you could hire us to develop or finish developing your website for you do checkout our services here.
If this helped you out you can support us by donating, well not exactly donating but purchasing a pro plugin which might be useful for you later for super cheap here
Updated Fix On 26th April 2022