# Unable to upload images

**URL:** <https://community.localwp.com/t/unable-to-upload-images/37047>\
**Category:** Support\
**Tags:** mac\
**Created:** [May 20, 2023, 4:32pm UTC](https://community.localwp.com/t/unable-to-upload-images/37047 "2023-05-20T16:32:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lisawells999](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/lisawells999/32/5237_2.png) [@lisawells999](https://community.localwp.com/u/lisawells999)\
**Post date:** [May 20, 2023, 4:32pm UTC](https://community.localwp.com/t/unable-to-upload-images/37047/1 "2023-05-20T16:32:45Z")

</div>

### Issue Summary

Since upgrading to Local 6.7.0, I am unable to add images to the media library on any of my sites. I get this error message on some sites:

> 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.

On another site, I get this error message, which says the file may have been uploaded successfully, but it’s not in the Media Library.

> Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.

I have seen the issue in a prior discussion. They were able to solve by using nginx instead of apache, but this does not solve for me.

#### Troubleshooting Questions

- Does this happen for all sites in Local, or just one in particular?  
All sites. It is the case for brand-new sites and existing sites.

- Are you able to create a new, plain WordPress site in Local and access it in a Browser?  
Yes, and it is unable to upload images.

#### Replication

Using Local 6.7.2, try Add New media.

#### System Details

- Which version of Local is being used?  
6.7.2+6375

- What Operating System (OS) and OS version is being used?  
macOS Ventura 13.3.1

- Attach the Local Log. See this Help Doc for instructions on how to do so:  
[local-lightning.log](https://community.localwp.com/uploads/short-url/hLblwFMehxBiLpdDHmubikLnRUR.log) (652.5 KB)

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [May 27, 2023, 7:40pm UTC](https://community.localwp.com/t/unable-to-upload-images/37047/2 "2023-05-27T19:40:26Z")

</div>

Hi @lisawells999

You could try some of the suggestions here to see if they resolve the issue:

> **[How to Fix Post-Processing of Image Failed Error in WordPress](https://www.wpbeginner.com/wp-tutorials/how-to-fix-post-processing-of-image-failed-error-in-wordpress/)**
>
> Are you seeing the ‘Post-Processing of Image Failed’ error while uploading media in WordPress? Here's how to fix the post-processing image failed error in WordPress.

---

<div class="post-metadata">

**Author:** ![lisawells999](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/lisawells999/32/5237_2.png) [@lisawells999](https://community.localwp.com/u/lisawells999)\
**Post date:** [May 28, 2023, 3:03pm UTC](https://community.localwp.com/t/unable-to-upload-images/37047/3 "2023-05-28T15:03:22Z")

</div>

Thanks, @Nick-B.  
WPBeginner suggests:

1. Make sure image is **smaller than 2500px** ✓  
(_largest I’m testing is 1449px_)
2. Make sure **no special characters** in file name ✓  
(_image names have only letters, numbers, hyphens, underscores_)
3. **Try later** ✓
4. **Try a different file** ✓
5. **Try a different browser** ✓ (_firefox_)
6. **Increase WordPress Memory Limit to 256M** in wp-config. ✓  
(_Site Health already reports PHP memory limit at 256M_)  
– _Added the line to wp-config, anyway, to test._  
define( ‘WP\_MEMORY\_LIMIT’, ‘256M’ );  
– _Actually, the memory limit was being set in php.ini, but also 256M there._  
memory\_limit = 256M
7. **Increase maximum file upload size** or **optimize images to make them smaller** ✓  
_Is set to 300 MB. I’m testing upload with files that are, say, 106 KB or 557 KB._
8. **Change Image Editor Library to GD Library** ✓  
Active editor is already WP\_Image\_Editor\_GD

Still stumped. 🙁

---

<div class="post-metadata">

**Author:** ![lisawells999](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/lisawells999/32/5237_2.png) [@lisawells999](https://community.localwp.com/u/lisawells999)\
**Post date:** [June 8, 2023, 8:28pm UTC](https://community.localwp.com/t/unable-to-upload-images/37047/4 "2023-06-08T20:28:31Z")

</div>

I threw away the Local configuration folder (according to instructions to Uninstall Local, although I didn’t uninstall—just ditched the config folder) and all seems to work now.

> **[Uninstall Local](https://localwp.com/help-docs/troubleshooting/uninstalling-local/)**
>
> We're sorry to see you go! Follow the instructions below to remove Local. Table of Contents: There are three main parts to the Local app, and depending on what you are trying to do, you may want to…

Delete Local’s configuration folder by navigating to “~/Library/Application Support” and deleting the “Local” folder.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [June 8, 2023, 8:31pm UTC](https://community.localwp.com/t/unable-to-upload-images/37047/5 "2023-06-08T20:31:51Z")

</div>

Glad to hear it @lisawells999! Thank you for coming back and sharing the resolution you found.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [June 10, 2023, 8:32am UTC](https://community.localwp.com/t/unable-to-upload-images/37047/6 "2023-06-10T08:32:03Z")

</div>

Closed on June 10, 2023, 8:32am UTC

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
