Support » Plugin: Smush Image Compression and Optimization » Bad response from

  • NilesGiberson


    My image files seem to meet all criteria for the plugin (jpg, gif, under 1MB) yet, I’ve still been getting the ‘bad response from’ error for days now on each and every file in my media library.


    Here’s my debug error messages:

    DEBUG: attachment_file_path=[/home5/nilesgib/public_html/nilesdesignco/wp-content/uploads/2014/07/aunties-packaging-full.jpg]
    DEBUG: attachment_file_url=[]
    DEBUG: file_url [] home_url []
    DEBUG: Calling API: []
    DEBUG: return from API: data

    stdClass Object
    [src] =>
    [error] => Could not get the image
    [id] =>

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @nilesgiberson,

    Sorry to hear of the problem you are having.

    Are you facing this issue recently? Was it working fine for you?

    Have you updated/deleted/edited anything recently that caused this issue?

    Could you please try smushing images from your site directly by adding its URLs on the following page and check whether they are smushing or not?

    Kind Regards,



    yes, it’s always been this way since I created this website a few weeks ago.

    on the actual website, my images comes through saying “ did not find any saving of your image(s).”

    It’s just weird because usually if there are no savings, it at least will say that it processed and that it found no savings in the WordPress media library backend…instead it just says…”bad response”.

    Hi @nilesgiberson,

    Thank you for your reply.

    I can see the images from other site is getting smushed on but not from your site like

    The plugin works is the URL to the image is passed to the API. So the image needs to be accessible by public URL. if you have any special rewrite rules or such this might be the issue.

    Could you please try smushing images on by taking image URL from other site and if it gets smushed then upload the same image on your site and try smuashing that uploaded image to make sure that the Yahoo service can access your images?




    WPMU DEV Support Staff

    Hi @nilesgiberson,

    I just wanted to mention a bit more as the developer had a look at this and noticed you’ve got a redirect, which unfortunately entails it won’t work with Yahoo’s service.

    You can check that out by entering your image urls here:

    You’ll see there’s a 302 redirect. That’s the reason you’re getting a bad response.

    Any normal URLs without redirects will work just fine though.


    Hi @nilesgiberson,

    I had also noticed the redirection issue on your site as @david has mentioned in his last reply but now i found the images from your site is getting smushed without redirection issue.

    Have you managed to fix the issue?


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Bad response from’ is closed to new replies.