• Lee

    (@junior)


    I am running the latest version of WordPress on a self installation (Ubuntu) and noticed that I always see this error with certain images I have yet to find a solution. I have increased Memory Limit to 256M in php and also Maximum upload file size to 1 GB and no luck.

    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.

    Again, things I have tried:

    • Memory Limit increased to 256M
    • Maximum upload file size to 1 GB
    • Renaming the file to test.jpg
    • Verifying the file size (currently testing a JPG at 1.1M)

    I ran out of things to try. Any ideas?

Viewing 11 replies - 31 through 41 (of 41 total)
  • Same problem. I uploaded a batch of 7 similar images (same resolution (1200×800), similar size (70-80 kB), similar content, they are featured images for similar articles), 6 of them uploaded successfully, 7th failed and keeps failing. I tried reuploading some of the successful 6 and they all upload successfully again with no problems.

    View post on imgur.com

    I tried

    • renaming the file
    • changing file type (jpg, jpeg, png)
    • minifying through tinypng.com
    • export to new file (JPEG) with Mac Preview app
    • export to new file from Photopea (JPG)
    • export to PDF and from there export to JPEG

    nothing worked

    I then tried uploading to imgur.com and downloading the image from there.. AND THAT WORKED! (JPEG)

    I don’t understand this error.

    • This reply was modified 6 months, 1 week ago by stanikub.

    I had this issue today – turned out the images were animated WEBP images. Flattened them and they uploaded without error.

    grafis

    (@snackmaster)

    Just had this issue for the first time ever, on a 10+ yr old WP site. I was attempting to upload five 500-700k PNG files.

    Fix – I simply deleted all cookies for my domain and boom, all images uploaded.

    Credit to @jdredhawk001 jdredhawk001 – she posted the easy route, it worked.

    Weird issue….

    I changed my PHP version from cPanel from 7.4 to the latest (8.3) and the problem stopped.

    • This reply was modified 5 months, 3 weeks ago by axenicarts.

    Logging out and logging back in fixed it for me after I verified all the requirements for images being uploaded were met.

    I also just ran into this issue. I’m hosted on GoDaddy and my max file size is 32M in PHP config. But in my case, despite getting the error message, the images DO upload – they show in the WP Media gallery and I can see the image files in the CPanel File Manager on the hosting server. I created 2 copies of the image – original was 4000×3000, 2nd copy was 3000×2250. The 3000x copy uploaded without error, the 4000x image gave the error but loaded anyway. But then here’s another weird part – WP created 6 versions of the 3000x copy – a 1024x version, a 150x version, a 1536x version, a 2048x version, a 300x version, a 768x version, and the original (3000x). But for the 4000x copy, it created only 3 versions – a 225x version, a ‘scaled’ version (that was 2560x), and the original (4000x).

    Note I don’t really WANT the 4000x or 3000x sizes, I was just doing a quick upload of an original file to see what would happen (sometimes I’m loading images on the go and don’t have time to resample before uploading).

    Also – my ‘Settings / Media’ settings are thumbnail: 150x, Medium: 300x and Large: 1024x – NOWHERE near the actual file sizes involved. If this settings page were to be believed, I shouldn’t be able to load anything above 1024x!

    @omicr0n You biscuit! Found it triggered my Cloudflare rule. Simply added an exclusion

    Roland

    (@rolandkingo)

    I receive the error message “Specified file failed upload test” on localhost, with Wampserver. I have checked the upload folder permission on Windows and set it to everyone. The Apache php settings are (memory_limit, post_max-size, upload_max_file_size all set to 256 MB, the file has 1.09Mb, the pixel max size is 1792 px). Any further ideas for solving this issue?

    • This reply was modified 4 months ago by Roland. Reason: specification added
    juanwp22

    (@juanwp22)

    Same problem here since the last update. Any solution?

    Renaming the file worked for me

    mrostron

    (@mrostron)

    I have had this problem today and have been banging my head against a wall… trying all sorts to try and fix the issue…. I have been trying to import about 2000 images all only about 80 – 100KB in size with a dimension of only 1080 x 1080.

    In the end I identified that the issue was a browser issue…. I was using Safari and when I swopped to Chrome it worked first time!!! I have had to rerun the import for a couple of non related issues, and every time it has completed without issue.

Viewing 11 replies - 31 through 41 (of 41 total)
  • You must be logged in to reply to this topic.