• Resolved jesusgpastor

    (@jesusgpastor)


    Hi there.

    Getting this debug info when trying to use your plugin:

    Processing 11_setembre_diada_catalunya_0001…
    DEBUG: attachment_file_path=[/usr/home/unfotografo.es/web/wp-content/uploads/11_setembre_Diada_Catalunya_0001.jpg]
    DEBUG: attachment_file_url=[https://www.unfotografo.es/wp-content/uploads/11_setembre_Diada_Catalunya_0001.jpg]
    DEBUG: file_url [https://www.unfotografo.es/wp-content/uploads/11_setembre_Diada_Catalunya_0001.jpg] home_url [https://www.unfotografo.es]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F11_setembre_Diada_Catalunya_0001.jpg]
    DEBUG: return from API: data
    
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/11_setembre_Diada_Catalunya_0001.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG:

    Got then ALL plugins off, W3 Cache and Wordfence included.
    And here https://www.smushit.com/ysmush.it/ had same problem, even though if you just copy/paste the image link in any browser (https://www.unfotografo.es/wp-content/uploads/11_setembre_Diada_Catalunya_0001.jpg) works totally fine…

    Any idea? Which/where rewrite rules could affect and I should check?
    The weird thing is that I got your plugin through all this site (another wordpress installation in the same domain) and (with all plugins enables, same theme, same version) worked totally perfect both in single and bulk smash, and also https://www.smushit.com/ysmush.it/ could easy find images there:
    https://unfotografo.es/visita-virtual-google/

    Any idea?

    Thanks!

    https://www.ads-software.com/plugins/wp-smushit/

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

    I just checked images on your site, directly over https://www.smushit.com/ysmush.it/ and it works fine.

    For the image provided above there was no savings, although I tried another image from your site and it was smushed perfectly.

    Can you check it back on your site?

    Thanks

    Thread Starter jesusgpastor

    (@jesusgpastor)

    mmm… yes, now the smushit.com works… but cannot find any image that is apparently smushamable ??
    anyway, from the site, that’s what I get, loads of ‘Bad response from Smushit’:

    Processing 07379_danceescoolimg_2659…
    DEBUG: attachment_file_path=[/usr/home/unfotografo.es/web/wp-content/uploads/07379_DanceEsCoolIMG_2659.jpg]
    DEBUG: attachment_file_url=[https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F07379_DanceEsCoolIMG_2659.jpg]
    DEBUG: return from API: data
    
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/07379_DanceEsCoolIMG_2659-225x150.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-225x150.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F07379_DanceEsCoolIMG_2659-225x150.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-225x150.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/07379_DanceEsCoolIMG_2659-300x200.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-300x200.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F07379_DanceEsCoolIMG_2659-300x200.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-300x200.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/07379_DanceEsCoolIMG_2659-669x272.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-669x272.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F07379_DanceEsCoolIMG_2659-669x272.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-669x272.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/07379_DanceEsCoolIMG_2659-320x202.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-320x202.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F07379_DanceEsCoolIMG_2659-320x202.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-320x202.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/07379_DanceEsCoolIMG_2659-52x50.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-52x50.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F07379_DanceEsCoolIMG_2659-52x50.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-52x50.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/07379_DanceEsCoolIMG_2659-180x138.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-180x138.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F07379_DanceEsCoolIMG_2659-180x138.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-180x138.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/07379_DanceEsCoolIMG_2659-540x272.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-540x272.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F07379_DanceEsCoolIMG_2659-540x272.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-540x272.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/07379_DanceEsCoolIMG_2659-460x295.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-460x295.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F07379_DanceEsCoolIMG_2659-460x295.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-460x295.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/07379_DanceEsCoolIMG_2659-300x214.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-300x214.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F07379_DanceEsCoolIMG_2659-300x214.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-300x214.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/07379_DanceEsCoolIMG_2659-220x161.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-220x161.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F07379_DanceEsCoolIMG_2659-220x161.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-220x161.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/07379_DanceEsCoolIMG_2659-750x400.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-750x400.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F07379_DanceEsCoolIMG_2659-750x400.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-750x400.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/07379_DanceEsCoolIMG_2659-700x441.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-700x441.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F07379_DanceEsCoolIMG_2659-700x441.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-700x441.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/07379_DanceEsCoolIMG_2659-66x66.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-66x66.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F07379_DanceEsCoolIMG_2659-66x66.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-66x66.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/07379_DanceEsCoolIMG_2659-50x50.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-50x50.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F07379_DanceEsCoolIMG_2659-50x50.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/07379_DanceEsCoolIMG_2659-50x50.jpg
        [error] => Could not get the image
        [id] =>
    )
    — [original] 750 x 500: Bad response from Smush.it
    — [thumbnail] 225 x 150: Bad response from Smush.it
    — [medium] 300 x 200: Bad response from Smush.it
    — [blog-large] 669 x 272: Bad response from Smush.it
    — [blog-medium] 320 x 202: Bad response from Smush.it
    — [tabs-img] 52 x 50: Bad response from Smush.it
    — [related-img] 180 x 138: Bad response from Smush.it
    — [portfolio-one] 540 x 272: Bad response from Smush.it
    — [portfolio-two] 460 x 295: Bad response from Smush.it
    — [portfolio-three] 300 x 214: Bad response from Smush.it
    — [portfolio-four] 220 x 161: Bad response from Smush.it
    — [portfolio-full] 750 x 400: Bad response from Smush.it
    — [recent-posts] 700 x 441: Bad response from Smush.it
    — [recent-works-thumbnail] 66 x 66: Bad response from Smush.it
    — [jetpack-portfolio-admin-thumb] 50 x 50: Bad response from Smush.it

    any idea?

    There is something wrong with the image URL, you just pasted above.
    When I open it in browser it prompts me for download, instead of opening it.

    While the other image here https://www.unfotografo.es/visita-virtual-google/wp-content/uploads/2013/09/casa-almirall-Buscar-con-Google.jpg
    opens fine and even get smushed by API
    https://www.smushit.com/ysmush.it/ws.php?img=https://www.unfotografo.es/visita-virtual-google/wp-content/uploads/2013/09/casa-almirall-Buscar-con-Google.jpg

    This might be helpful:
    https://forums.mozillazine.org/viewtopic.php?f=38&t=625797

    As the image links above are directly from uploads folder as compared to normal image URLs in WordPress which are stored under year and month folders.

    So probably some server configuration.

    Thread Starter jesusgpastor

    (@jesusgpastor)

    Umesh, thanks a lot for your help ??

    But is same server, same configuration!

    The thing is I dont get why this works totally fine: https://unfotografo.es/visita-virtual-google/

    And this does not work at all: https://unfotografo.es

    I just added the one that worked because is same hosting, same theme, pretty similar plugins… etc, and that makes it even more weird :-O

    What clue could I give the server guys so they can look into it?

    Thread Starter jesusgpastor

    (@jesusgpastor)

    And… no, when I open any image in this post, for example:
    https://www.unfotografo.es/2014/manifestacion-palestina-no-es-una-guerra-es-un-genocidio

    It opens all images, no download…

    And smush result is exactly same.

    Processing manifestacion_pro_palestina_0803…
    DEBUG: attachment_file_path=[/usr/home/unfotografo.es/web/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803.jpg]
    DEBUG: attachment_file_url=[https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F2014%2F07%2FManifestacion_Pro_Palestina_0803.jpg]
    DEBUG: return from API: data
    
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-225x150.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-225x150.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F2014%2F07%2FManifestacion_Pro_Palestina_0803-225x150.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-225x150.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-300x199.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-300x199.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F2014%2F07%2FManifestacion_Pro_Palestina_0803-300x199.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-300x199.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-669x272.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-669x272.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F2014%2F07%2FManifestacion_Pro_Palestina_0803-669x272.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-669x272.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-320x202.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-320x202.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F2014%2F07%2FManifestacion_Pro_Palestina_0803-320x202.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-320x202.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-52x50.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-52x50.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F2014%2F07%2FManifestacion_Pro_Palestina_0803-52x50.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-52x50.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-180x138.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-180x138.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F2014%2F07%2FManifestacion_Pro_Palestina_0803-180x138.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-180x138.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-540x272.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-540x272.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F2014%2F07%2FManifestacion_Pro_Palestina_0803-540x272.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-540x272.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-460x295.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-460x295.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F2014%2F07%2FManifestacion_Pro_Palestina_0803-460x295.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-460x295.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-300x214.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-300x214.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F2014%2F07%2FManifestacion_Pro_Palestina_0803-300x214.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-300x214.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-220x161.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-220x161.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F2014%2F07%2FManifestacion_Pro_Palestina_0803-220x161.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-220x161.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-940x400.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-940x400.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F2014%2F07%2FManifestacion_Pro_Palestina_0803-940x400.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-940x400.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-700x441.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-700x441.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F2014%2F07%2FManifestacion_Pro_Palestina_0803-700x441.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-700x441.jpg
        [error] => Could not get the image
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/usr/home/unfotografo.es/web/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-66x66.jpg]
    DEBUG: attachment_file_url_size=[https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-66x66.jpg]
    DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.unfotografo.es%2Fwp-content%2Fuploads%2F2014%2F07%2FManifestacion_Pro_Palestina_0803-66x66.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803-66x66.jpg
        [error] => Could not get the image
        [id] =>
    )
    — [original] 950 x 633: Bad response from Smush.it
    — [thumbnail] 225 x 150: Bad response from Smush.it
    — [medium] 300 x 199: Bad response from Smush.it
    — [blog-large] 669 x 272: Bad response from Smush.it
    — [blog-medium] 320 x 202: Bad response from Smush.it
    — [tabs-img] 52 x 50: Bad response from Smush.it
    — [related-img] 180 x 138: Bad response from Smush.it
    — [portfolio-one] 540 x 272: Bad response from Smush.it
    — [portfolio-two] 460 x 295: Bad response from Smush.it
    — [portfolio-three] 300 x 214: Bad response from Smush.it
    — [portfolio-four] 220 x 161: Bad response from Smush.it
    — [portfolio-full] 940 x 400: Bad response from Smush.it
    — [recent-posts] 700 x 441: Bad response from Smush.it
    — [recent-works-thumbnail] 66 x 66: Bad response from Smush.it

    https://www.unfotografo.es/2014/manifestacion-palestina-no-es-una-guerra-es-un-genocidio#.VBnhXVt5V5c

    For the above post, I checked the very first image https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0696.jpg, which is same for last image in post
    https://www.unfotografo.es/wp-content/uploads/2014/07/Manifestacion_Pro_Palestina_0803.jpg?11dcaf

    it doesn’t opens it prompts me for download. Sorry but I can’t check each image on your site, but most of images behave same and hence the yahoo server is unable to get them, once you are able to fix this issue, you might check back with yahoo server.

    The support thread is what you need to give to your server guys.
    https://forums.mozillazine.org/viewtopic.php?f=38&t=625797

    Thread Starter jesusgpastor

    (@jesusgpastor)

    eps, sorry, Umesh, I was testing with Chrome and with Chrome there is no ‘download’ issue, it is with Firefox.

    thanks for your time and patience ??

    Hi @jesusgpastor,

    I should have confirmed the browser I’m using, I apologize for that.

    Were you able to determine the issue?

    Thanks

    Thread Starter jesusgpastor

    (@jesusgpastor)

    No worries ??
    Do you know how can I read (to make it easier for server guys) if the server is sending that image as an “attachment” rather than “inline” which causes Firefox to treat it as a download?
    I am not a developer and trying my best but still sometimes lost!!! ??

    I’m not really expert on that, but this might be helpful, depending upon Web Server you are using,

    You have to send images as inline and not attachment

    https://stackoverflow.com/questions/9378664/send-image-as-an-attachment-in-browser

    https://serverfault.com/questions/364370/how-can-i-make-sure-that-nginx-serves-plaintext-files-as-a-download-instead-of

    Thread Starter jesusgpastor

    (@jesusgpastor)

    mmm… not that.
    server guys tell me image config is exactly same in both domains, the one that works with the plugin and the one that does not work at all… ??
    any idea???

    Hi @jesusgpastor,

    server guys tell me image config is exactly same in both domains, the one that works with the plugin and the one that does not work at all… ??
    any idea???

    None, that I’m aware of.

    However I’ll look into it, and see If i could find out a workaround, I can’t really solve the issue which I’m unable to replicate. But I want to help you ??

    I’ll check the issue.

    Thanks

    Thread Starter jesusgpastor

    (@jesusgpastor)

    Hi again.
    Not surrendering ??
    The plugin is working great in the other site (same domain, same server, same wordpress version, same theme, not same cache config, maybe that?) but still not working in main site.
    News: it works with PNG but not with JPEG: https://prntscr.com/4vqyzm
    Could that behaviour be any clue? Hopefully!!!

    Jesus

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi Jesus,

    Thank you for your patience.

    News: it works with PNG but not with JPEG: https://prntscr.com/4vqyzm

    Is the same JPEG image getting smushed on https://www.smushit.com/ysmush.it/ by using its URL from your site?

    Regards,
    WPMU DEV

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[error] => Could not get the image’ is closed to new replies.