• Resolved yammez02

    (@yammez02)


    When I select one or more images in the Media Library and use the bulk compress option, there is about a minute of waiting and then I get a 504 error Gateway Time-out.

    When I go back to the Media Library, the first image that was checked shows that “Compressed 15 out of 15 sizes”. The rest of the checked images still show 0 out of 15.

    If I only check 1 image and do the bulk compression option, it still does a 504 error, but it still compressed the 15 sizes when I go back to check it.

    It doesn’t appear to matter how many images you check before doing the bulk compression because it only works on the first one you check.

    If I use the individual “Compress” button on an image, the little AJAX spinner just goes and goes, and would go forever if I let it. After a minute, if I refresh the Media Library page the image will show 15 out of 15 sizes compressed. I assume the 504 error is happening here as well, but the AJAX script never gets to the complete function.

    Anyway, that’s how the plugin is going right now. Do you know what the problem might be? Also I’m running the website on a VPS, do you have any recommended server settings for this plugin to run well?

    https://www.ads-software.com/plugins/tiny-compress-images/

Viewing 1 replies (of 1 total)
  • Plugin Author TinyPNG

    (@tinypng)

    Sounds like you’re having some network connectivity problems.

    For doing HTTP requests, the plugin uses either the cURL or fopen PHP modules. Of those two, cURL is the preferred option.

    Are you able to reach the TInyPNG webservice at all from your VPS?

    Could you perhaps provide us with a screenshot of the behaviour you’re describing in the Media Library? Please send it to [email protected].

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘504 error when compressing images’ is closed to new replies.