• This new feature does not seem to be allowing clients to upload images above 2500 pixels.

    This is now happening across all WordPress sites.
    A filter claims to disable it using:

    add_filter( 'big_image_size_threshold', '__return_false' );

    Unfortunately this does not work. I also tried returning a number bigger than 2500 and it’s like my filter is ignored.

    The filter has been aded into functions.php

Viewing 15 replies - 1 through 15 (of 21 total)
  • Hi,

    The feature action consist in scaling down images beyond 2560px. It doesn’t not prevent from uploading images, as the operation is done after the upload.

    https://make.wordpress.org/core/2019/10/09/introducing-handling-of-big-images-in-wordpress-5-3

    As someone suggest on Slack, can you deactivate all active plugins, activate a default theme and try uploading the images again?

    • This reply was modified 4 years, 4 months ago by Justin Ahinon.
    Thread Starter saltnpixels

    (@saltnpixels)

    I just tried on a fresh install (WordPress 5.3.2), and I successfully uploaded a +7000px image in WP Media.

    I also searched for your error message and found this https://wppathfinder.com/post-processing-of-the-image-failed/.

    You can try following the steps in the below link.

    For disabling the filter, can you confirm you’ve added this in your theme or child theme functions.php?

    Thread Starter saltnpixels

    (@saltnpixels)

    I tried all those.
    I cleared my cache, I added the filter to my functions file. I tried the plugin (which is just doing the same filter under the hood)

    Im a theme developer and I am not sure what is causing this. I switched to twenty-twenty theme and it still wont upload. It’s random when it happens like every third upload.

    Maybe it has something to do with php.ini settings? But the message is about pixel sizes and not MB max file sizes…

    How can I debug whats really causing this issue? According to that message its a cap of 2500 pixels. that message comes from a core WordPress file. It’s not a plugin that is stopping it from working. It worked before 5.3

    It could be a server requirement that is preventing you from uploading images.

    Have you tried downgrading WordPress Core version? You can go to 5.2 and see if you still have the same issue.

    This can be done with this plugin https://wordpress.org/plugins/wp-downgrade/

    Thread Starter saltnpixels

    (@saltnpixels)

    is downgrading scary… the plugin looks scary… i dont want to break anything

    I’ve used the wp-downgrade plugin several times on my demo site. It’s fine.
    You can test things out at https://wpsandbox.net/ if you don’t want to break your site.

    And is the error really saying 2500? Because the core default is 2560.

    Anyway, whatever you’re willing to try, make sure to backup the site first.

    @joyously yes his error is saying 2500px.

    Look https://www.dropbox.com/s/4dcgjfp3c0wlyqf/Screenshot%202019-12-20%2012.00.43.png?dl=0

    Thread Starter saltnpixels

    (@saltnpixels)

    Sorry I have not responded. I’m off work till Thursday :). I’ll continue looking into this issue when we’re back.

    Thread Starter saltnpixels

    (@saltnpixels)

    OK I am back. Holidays are over 🙁
    I still have these issues. Uploading large images works intermittently.

    @justinahinon before i go downgrading are there any php.ini settings I can try touching?
    Any other reasons I am getting this error that the images need to be under 2500… which isn’t even the 2560 mentioned above…

    Why am I getting a weird error.

    It seems im not the only one having this error
    https://wordpress.org/support/topic/unable-to-upload-images-67/page/6/

    On further inspection I noticed a console error when i try to upload and it fails. I get:

    …/wp-admin/async-upload.php net::ERR_CONNECTION_RESET . moxie.js?ver=1.3.5:7173

    Lastly i should mention I am working on this site via a VPN connection. It is an intranet site.

    Thanks

    • This reply was modified 4 years, 3 months ago by saltnpixels.
    • This reply was modified 4 years, 3 months ago by saltnpixels.
    • This reply was modified 4 years, 3 months ago by saltnpixels.

    Hello. “+1”

    I’m seeing exactly the same issue.

    My multisite is running latest WP 5.3.2…

    I tried uploading a big image (about 3600 or so pixels wide).
    The image never gets fully processed, and I get this 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.

    I have updated all plugins, and I have debugging turned on. Nothing shows up in either WP debug file or PHP error log. I’m at a loss for how to debug this. Can anyone suggest something for me to try?

    I have clients managing posting to their sites, and they are not all tech savvy, so I need the handling of big images to be trustworthy.

    Thanks again if anyone can nudge me in some good direction.

    • This reply was modified 4 years, 3 months ago by dougjoseph.

    I tend to suspect this issue may be related to WordPress core’s new “big image” handling feature: https://make.wordpress.org/core/2019/10/09/introducing-handling-of-big-images-in-wordpress-5-3/

    However, I tried to post over there that big image handling was not working, and apparently my post was not approved by a mod. My post never showed up.

    UPDATE: I used WP Downgrade to go back to WP Core version 5.2.5 and the issue immediately went away.

    I’m convinced that WordPress Core’s new “big image” handling feature, which was implemented beginning with version 5.3, is somehow broken.

    I had already tried to fix this by clearing all server caches, and checking error log and debug log (nothing showed at all regarding today’s date). Nothing helped except downgrading.

    Again, here’s the page (with discussion) about the new feature:

    Introducing handling of big images in WordPress 5.3

    Summary: I think this new feature broke our multisite (no way to upload big images), and downgrading WordPress Core to 5.2.5 fixed the issue.

    WordPress Core Team, please help!

    Put it on one of the tickets mentioned in that post, or open a new ticket.
    https://core.trac.wordpress.org/

    Thread Starter saltnpixels

    (@saltnpixels)

    wow. this image is still alive and well.
    i just created a new site on a normal hosting environment. And it gives the same 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.

    How does one get WordPress to fix an error? I created a ticket and nothing happened….. This is kind of a big issue if clients cannot upload basic images…

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘big Image Threshold’ is closed to new replies.