Make WordPress Core

Opened 4 months ago

Last modified 3 months ago

#48919 new defect (bug)

Images wont upload with new Big Images fiunctionality

Reported by: shamai Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.3
Component: General 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 (2)

#2 @lumpysimon
3 months 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.

Note: See TracTickets for help on using tickets.