Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @aschx,

    I hope you are well today and thank you for your question.

    Can you just try smushing same PNG images from here https://www.smushit.com/ysmush.it/ and let me know the result?

    Best Regards,

    Thread Starter Brandon White

    (@aschx)

    It smushed all of my PNG files successfully with that link.

    Hi @aschx,

    Thank you for your reply.

    Can you try enabling WP_DEBUG mode and debug logging? To do this, just go to wp-config.php include this:

    define('WP_DEBUG',true);
    define('WP_DEBUG_LOG',true);

    You might already have a line for WP_DEBUG, so just make sure it’s set to true. This will create a log file under wp-content/debug.log with detailed information.

    Check the javascript console for errors. in Chrome go to “View -> Developer -> Javascript Console” and in Firefox you can go to “Tools -> Web Developer -> Console”

    Let me know what errors if any you are getting when smushing PNG images.

    Kind Regards,

    Thread Starter Brandon White

    (@aschx)

    This is the error I get in JavaScript Console when attempting to do a bulk smush on just any single PNG file: Console Error

    The reason I tried a blk smush was doing a smush on any single image in the media library will throw a 504 Gateway Timeout. Also, this end-results in flagging my image as smushed with No Savings. See this image: No Savings Flag

    The debug log has no values regarding smush it, only a few notices for my theme.

    Jack K

    (@jack-kitterhing)

    Hi there @aschx

    Hope your well today and thanks for the additional information.

    Could you send me one of the actual png images your trying to smush please?

    If that’s possible please send to contact(at)wpmudev.org with the subject line Attn: Jack Kitterhing

    Thanks!

    Kind Regards
    Jack.

    Thread Starter Brandon White

    (@aschx)

    Hello Jack,

    I have submitted the email with one of the PNGs I am trying to smush.

    Jack K

    (@jack-kitterhing)

    Hi there @aschx,

    Hope your well today.

    I have just checked this image and for me it is smushing correctly.

    I’ve forwarded this to the lead developer to take a look, appreciate your patience here ??

    Thanks!

    Kind Regards
    Jack.

    Hi there @aschx, Just reading parts of this thread to get caught up on the issue.

    This is the error I get in JavaScript Console when attempting to do a bulk smush on just any single PNG file: Console Error

    The Smush.it plugin doesn’t use and JavaScript. So if you are seeing a JS error this might be an indications of the issue.

    What version of WordPress? Multisite ore regular?

    What other plugins are you running? Specifically, what other plugins might be also trying to filter media items?

    Are you seeing the error both when uploading new images as well as bulk smash.it actions on existing images?

    Try this. Go to Settings > Media on that page you will see a section for Smush.it. There is a checkbox to enable debug mode. This will output some details on the plugin API communication with Yahoo. Save the settings.

    Next go to Media > Library. Find a PNG item in the listing which has not be processed via Smush.it. Set the checkbox in the first column of that row. Above the listing is the actions drop down. From the drop down select Bulk Smush.it then click the ‘Apply’ button next to it. This will bulk smush a single image.

    You will see some debug output like the following
    https://screencast.com/t/mM5sykM71N

    Also, I enabled auo-smush.it on upload and get the same success results.
    https://screencast.com/t/wKM9MB5f

    More then likely this is something with your specific server or WordPress configuration. As we are not seeing the same errors when attempting to process the same image.

    Hey there.

    We haven’t heard from you in awhile, so I just wanted to check in to make sure all was good.

    This thread was marked resolved, but please, if you still need help then just respond and open it back up. We can then take it from there. ??

    Hope you have a fantastic day!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PNGs constantly Timing Out’ is closed to new replies.