Make WordPress Core

Opened 5 years ago

Last modified 4 years ago

#48919 new defect (bug)

Images wont upload with new Big Images fiunctionality

Reported by: shamai's profile shamai Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.3
Component: Media Keywords: dev-feedback
Focuses: Cc:


With version 5.3 came a new ability to create a big optimized image if the client uploads a very large image. This sort of replaces the full image, although it seems to retain the original image on the server. (not sure why but thats another issue...?)

Seen here:

Unfortunately there seems to be some bugs. Clients can no longer upload files. They get an error:

"Post-processing of the image failed. If this is a photo or a large image, please scale it down to 2500 pixels and upload it again."

The images uploaded are over 2500, but under 2MB.
I tried setting this new functionality to false using the hook I keep finding online:

add_filter( 'big_image_size_threshold', '__return_false' );

This did not work. I tried returning a new size over 2500 and it still wont work. Is this a bug or am I and everyone on the internet using this hook wrong?

Thank you.

Change History (4)

#2 @lumpysimon
5 years ago

A client has just reported this issue to me on a site where they had no problems uploading before upgrading to 5.3. Weirdly the error message says 2500px, when I believe the threshold is 2560px.

#3 @fattony4
4 years ago

I have this problem, too, on my private server (Debian 10, PHP 7.4, newest WordPress 5.4). If you tell me how to collect the relevant logs, I can provide them!

Seems like a core feature of WordPress to me, I'm a bit disappointed that this issue has been open for months already despite having been reported multiple times on the official support forum!

For example:

I would be happy to schedule a specific time to meet on Slack and debug/fix the issue together with a dev.

Version 2, edited 4 years ago by fattony4 (previous) (next) (diff)

#4 @markparnell
4 years ago

  • Component changed from General to Media
Note: See TracTickets for help on using tickets.