Images error when uploading to media library
-
Has anyone experienced this problem,
Errors when uploading images to media library:
“The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task.”[url=https://postimg.cc/5YnfS7jR][img]https://i.postimg.cc/5YnfS7jR/Screenshot-2025-12-09-114440.png[/img][/url]
Even with the errors, the images still appear in the media library.
If I make a NEW product from scratch and use one of these errored images in the product, and then after viewing the new product, any category I open does not show the products and and there is usually garbage text on the top of the screen.
If I keep the new product I just made and delete the image from the product, the problem resolves.
If I keep the new product I just made and use a known good image from a different product, the problem resolves.
Every new (different) image I try to upload to the media library errors, and if I try to use the (different) image the problem occurs.
The images we are using for our products are (and have always been) 1200px x 1000px JPGs.
From my point of view this seems like a problem processing images on the server side.
Other steps I’ve tried:
Made a staging site to try the following on:
There are 2 plugins that I thought could possibly cause the pictures to error when uploading – Smush plugin and Folders plugin. Smush compresses the images to save space and help make the web site display faster. Folders makes separate folders in the media folder to help keep better track of images.
I did the following on the staging site:
- Updated Smush plugin. Problem still persisted.
- Updated Folders plugin. Problem still persisted.
- Disable Smush plugin. Problem still persisted.
- Disable Folders plugin. Problem still persisted.
- I put the site in “troubleshoot mode.” The only plugin I HAD to enable was WooCommerce. After enabling the WooCommerce plugin ONLY, the problem still persisted.
- Updated WooCommerce plugin and Flatsome Theme plugin. Problem still persisted.
- I installed and ran WP-Optimize plugin. After optimizing the database the problem still persisted.
I’ve been going round and round with Bluehost. They keep saying it’s not their problem while giving me things to try on my end. I try them and they don’t work.
Any help would be greatly appreciated.
-
This topic was modified 3 months, 3 weeks ago by
chasman123.
The page I need help with: [log in to see the link]
-
Hi @chasman123,
I can see how disruptive this has been, especially since the images appear to upload but then trigger front end breakage when they are used on products. You have already done solid troubleshooting by testing on staging, disabling plugins, switching to troubleshoot mode, and narrowing this down to a scenario where only WooCommerce is active. That really helps rule out common conflicts and points strongly toward an image processing issue at the server level.
The error message you are seeing usually means the server is struggling while generating image sizes, which relies on PHP memory, execution time, and the underlying image library like GD or ImageMagick. Even though the images are only 1200 × 1000 JPGs, WordPress and WooCommerce generate multiple sizes on upload, and if that process partially fails, it can leave corrupted metadata. That would explain why the image exists in the Media Library but causes layout issues and unexpected output when rendered on the frontend.
At this stage, a few checks are worth focusing on with your host, especially since plugin and theme conflicts have already been ruled out. Ask them to confirm that ImageMagick or GD is installed and functioning correctly, that PHP memory and max execution time are sufficiently high for image processing, and that there are no server level errors in the PHP error logs at the exact time of upload. These server side details are outside WooCommerce’s direct control, but they are critical for stable media handling.
It would also help to see your WooCommerce system status report, as it gives visibility into memory limits, image library availability, and environment details. You can copy that from WooCommerce, Status, then System Status, and share it here using a paste service like https://pastebin.com so it remains accessible.
You may also find this guide useful for background on how WordPress handles images and what typically causes upload and processing failures: https://wordpress.org/documentation/article/image-size/
Once we can review the system status details, we can better pinpoint whether this is a configuration limit, a missing image library, or something the host needs to adjust on their side.
Thank you for your valuable time and information in helping us with this problem. Here is the WooCommerce system status report: https://pastebin.com/VCbbncRz
Hi @chasman123,
Thank you for sharing the system status report, I understand how important it is to get clarity at this stage and I appreciate you taking the time to provide it. I have reviewed the report carefully and nothing stands out as a misconfiguration or conflict on the WooCommerce side that would directly explain the image processing behaviour you are seeing.
One thing I did notice is that the site is currently running WooCommerce version 10.3.7, while the most recent stable release is 10.4.3. While this alone may not be the root cause, staying up to date ensures you have the latest fixes and improvements, especially around performance and compatibility. You can review recent releases here https://developer.woocommerce.com/releases/
Since the report does not show any obvious WooCommerce level issues, I want to double check whether you have been able to follow up with your hosting provider as previously recommended. Specifically, confirming their findings around image processing libraries like ImageMagick or GD, PHP memory limits, execution time, and any related errors in the server logs during image uploads would be very helpful in narrowing this down further.
Let me know where things stand with your host and we can take the next step from there together.
Thank you for your reply. The actual web site does not have the updated version of WooCommerce installed (yet) as I did all of the updating and testing on the staging site. It was indeed version 10.4.3 that I did the testing. I will get that updated on the actual site.
I have opened an escalated ticket with Bluehost’s support team. As soon as I get their email I will ask them about everything you posted.
I will keep you informed via this thread. Your help in this matter is GREATLY appreciated.
Hi @chasman123,
I appreciate you sharing that update and it is great to see the next steps already in motion. Getting the live site aligned with the tested version and escalating things with Bluehost is a solid approach, and it should help surface any server level details that were not previously visible.
Please feel free to come back to this thread once you hear back from Bluehost’s support team, especially if they share anything around image processing libraries, PHP limits, or server logs. I will be happy to review their feedback with you and help decide the best next step from there.
Looking forward to hearing how it goes and we can continue from there together.
I had to reopen the ticket with Bluehost and they immediately sent me an email saying that I’m trying to upload large files, which I am not. I am trying to upload the same size files I have always uploaded without an issue: 1200px x 1100px <300kb .jpgs. They gave me some workaround instructions on how to upload images that are beyond my comprehension and a lot more extra steps. I shouldn’t have to do this.
FYI, I have tried uploading smaller images, 600px x 600px .jpgs. I have tried uploading existing images that I was able to upload before without problems. I have tried (3) other locations on different computers on different ISPs. I have not been able to upload a single image in any of these scenarios without errors. Clearly, this is a server side issue.
I will reply to their email with your suggestions for them to check on their end and keep you informed of their response via this thread. I’m sorry if I was complaining, it’s just I’ve been going back and forth on this issue with them for a while now.
I REALLY appreciate your help on this. I hope you have a wonderful holiday.
Hi @chasman123,
I can see how draining this has been, especially after testing across different machines, networks, image sizes, and even files that previously worked, and still running into the same behavior. Given everything you have already done, your assessment continues to make sense and this is strongly pointing away from file size and toward a deeper server level image processing issue.
To help us fully close the loop on the application side while you continue engaging Bluehost, I would like to ask for one final confirmation using a full theme and plugin conflict test. Even though you already tested in troubleshoot mode, this specific test helps rule out any unexpected interactions at runtime. On your staging site, please temporarily switch the theme to Storefront and deactivate all plugins except WooCommerce, then try uploading a new image to the Media Library and using it on a product. If the error still occurs under those conditions, it clearly confirms this is not being triggered by a theme or plugin layer: https://woocommerce.com/document/how-to-test-for-conflicts/.
At the same time, when replying to Bluehost, it will help to be very direct that the failure is happening during image processing after upload, not during the upload itself. Even small JPG files will trigger multiple image size generations, and if GD or ImageMagick is misconfigured, timing out, or failing silently, WordPress can end up saving broken image metadata. That aligns closely with what you are seeing where images appear in the Media Library but cause frontend output issues once used.
It is reasonable to ask them to confirm whether GD or ImageMagick is installed and functioning correctly, whether there are PHP errors logged at the exact time of upload, and whether any recent server side changes, limits, or security rules could be interfering with image processing.
Once you have the results of the Storefront plus WooCommerce only test, or any concrete feedback from Bluehost, feel free to share it here and I will gladly review it with you so we can move this toward a clear resolution.
Thank you for your reply. On the staging site I added and switched to the Storefront theme (there were other Storefront themes but this one was “Storefront” by Automattic). I tried to upload a few images to the media library and still got the same “The server cannot process this image…” error for each. I tried to use the images in a product and note that while using the Storefront theme I was able to access all other categories and products without the previous front end breakage problem.
I just received an email reply from Bluehost. Here is their reply:
Hello Charles,
Thank you for getting back to us
From your response, I understand that you are not uploading large files, and the WooCommerce expert suggested checking the GD library status, PHP memory, and max execution time. I will assist you with this.
Upon reviewing the previous case details, I see that whenever you add an image to the library, you receive the message, “The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task.” Although the image appears to upload successfully, it causes problems when used in a product on the website.
Further investigation confirms that both the Imagick and GD libraries are properly installed and functioning on the server. Regarding memory execution limits, PHP has been configured with the following settings on our shared server:
php_flag display_errors Off (cannot adjust)
php_flag memory_execution_time 30 (MAXIMUM in seconds)
php_flag max_input_time 60 (MAXIMUM in seconds)
php_flag max_input_vars 1000 (MAXIMUM in seconds)
php_flag memory_limit 256M (MAXIMUM amount of memory a script may consume)
php_flag post_max_size 260M (MAXIMUM)
php_flag session.gc_maxlifetime 1440 (MAXIMUM)
php_flag session.save_path “/var/cpanel/php/sessions/ea-php70” (MAXIMUM)
php_flag upload_max_filesize 256M (MAXIMUM)
php_flag zlib.output_compression off (cannot adjust)
Here’s an article for your reference on PHP settings:
https://www.bluehost.com/help/article/multiphp-ini-editor
Additionally, I have added the code define(‘WP_IMAGE_EDITING_LIB’, ‘gd’); in the config file and installed the “Disable ‘BIG image’ Threshold” plugin, which should resolve the error message you encountered when uploading images.
It is advisable to clear the cached data and cookies from your web browser before attempting to upload the image again. For detailed instructions on how to clear browser cache and cookies, please refer to the following link: https://www.bluehost.com/help/article/how-to-clear-your-browser-cache.
Please try uploading the images now, and if the issue persists, reply to this email for further investigation.
Thank you for your time!
Regards,
Anjali S
Escalated SupportI cleared my browser cache as advised and still getting “The server cannot process this image…” error for each image. I have replied to their email with my results and get back to you with what they say. Thank you!!
Hi @chasman123,
Thank you for the detailed update.
Your latest tests on the staging site were extremely helpful. The fact that the error still appears even with Storefront + WooCommerce only confirms that this is not coming from your theme or any plugin.
We also appreciate you sharing Bluehost’s response. While it’s good to see that GD and Imagick are installed, the persistent failures, even after clearing cache and even with very small JPGs, strongly suggest that something deeper is failing during the image‑generation process, not during the upload itself. The message you’re seeing is exactly what WordPress shows when the server can’t complete the image‑processing task, even if the file itself uploads.
At this point, the next useful step is for Bluehost to check the actual server error logs at the exact timestamp of an upload attempt. That’s where issues like timeouts, segmentation faults, or library‑level failures show up, and those won’t be visible from within WordPress. Since you’ve already replied to them with your results, let’s see what they come back with.
Please keep me posted once they respond. We’re happy to continue working through this with you.
Here is Bluehost’s reply:
——————-
Hello,
Thank you for following up on the image upload issue.
From the case reply, I understand that you are still unable to upload the image via Media libraby as you are getting the error as “The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task’. I am sorry for the inconvenience caused. Upon review, I have tried to upload two .jpg files having the size of 4KB and 3MB and was able to upload the images without any error. I have attached the screenshot for your reference.
After testing, I have deleted the image files that I have uploaded. It is advisable to re-upload the images to the Media libraby and check the functionality. If the issue persists, please provide us the screenshot of the error so that we can investigate further on it.
Sincerely,
Mounesh K.
Escalated Support——————–
The screenshot they sent to me showed the two images AND THE ERROR, clearly at the top of the page.
https://i.postimg.cc/8kLytm2N/capture.png
Here is my reply back to them:
——————-
<span style=”color: rgb(29, 34, 40); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; white-space-collapse: collapse;”>I don’t understand how you are saying that you are not getting the errors when YOUR OWN screenshot clearly shows the error (see attachment of YOUR SCREENSHOT that you sent me).</span>
——————
Just keep going round and round with them. I’m sorry to have you involved in this circus but I’m grateful for your support.
Hi @chasman123,
Thank you for the detailed update and for sharing Bluehost’s latest reply and screenshot. I can see how frustrating it is to keep going in circles, especially when their own test still shows the same error message you have been reporting.
You have done all the right checks on your end, and at this point the behavior continues to point to a server side image processing issue rather than anything within WooCommerce. Please feel free to keep us posted once you hear back from Bluehost again, and we will be happy to review their response with you and help however we can.
Hello.
Thank you for your continued help in this issue.
They are telling me again to try uploading images on different computers (I have tried this on 3 different computers on 3 different ISPs, with different size images, using browsers in incognito mode). They keep telling me over and over to do the same things I’ve already done multiple times. I think it might be time to switch hosting companies.
Could you recommend a good hosting company with good support at a reasonable price for a very small business. I’ve seen where some hosting companies offer to migrate WordPress/WooCommerce sites for free. That would be helpful.
Thank you so much.
Thanks so much for the update, @chasman123. I really appreciate you sticking with this through all the troubleshooting. Given everything you’ve run into and the limitations you’re facing with your current hosting environment, I genuinely think you’d benefit from moving your site to WordPress.com.
WordPress.com is fully optimized for WordPress out of the box, so you don’t have to worry about server‑side image processing issues, PHP library conflicts, or hosting‑level restrictions getting in the way of basic tasks like media uploads. You also get automatic updates, built‑in performance enhancements, and a hosting environment that’s maintained specifically for WordPress sites.
If you decide to explore that option, you can start here: https://wordpress.com/move/
We can’t discuss offer‑related details here due to forum guidelines, but everything you need to know about migrating your existing site is covered in this guide:
https://wordpress.com/support/import/import-an-entire-wordpress-site/And if you’d like more personalized help or have questions during the process, you can open a support ticket directly with the team. Feel free to include a link to this thread so they have full context.
If you go that route, you’ll be in very good hands. Let me know if you need anything else along the way.
Bluehost has come up with a solution that works. They had me make the GD Library my default image editor with the following code (using the code snippets plugin):
functionwpb_image_editor_default_to_gd($editors) {$gd_editor='WP_Image_Editor_GD';$editors=array_diff($editors,array($gd_editor) );array_unshift($editors,$gd_editor);return$editors;}add_filter('wp_image_editors','wpb_image_editor_default_to_gd');Here is the website this information came from: https://www.wpbeginner.com/wp-tutorials/how-to-fix-post-processing-of-image-failed-error-in-wordpress/
We will most likely still be changing hosts to wordpress.com. This problem took entirely way too long to resolve (almost a month) with over 20 reopening of cases and back and forth emails.
Thank you so much for your generous time and effort in helping resolve this issue.
You must be logged in to reply to this topic.