Opened 5 years ago
Last modified 5 years ago
#48919 new defect (bug)
Images wont upload with new Big Images fiunctionality
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.3 |
Component: | Media | Keywords: | dev-feedback |
Focuses: | Cc: |
Description
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:
https://make.wordpress.org/core/2019/10/09/introducing-handling-of-big-images-in-wordpress-5-3/
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
@
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
@
5 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:
- https://wordpress.org/support/topic/unable-to-upload-images-67/
- https://wordpress.com/forums/topic/image-uploading-13/
- https://wordpress.com/forums/topic/unable-to-load-images-4/
- (I'm sure there are more.)
I would be happy to schedule a specific time to meet on Slack and debug/fix the issue together with a dev.
https://wordpress.org/support/topic/big-image-threshold/
Others having same issue