• Resolved Darren

    (@bakercreative)


    Hi, I can’t get the image to appear when I post a page url into a Facebook update.

    I tried using a featured image on the page but that didn’t work, so I’ve now added a default image to use in the plugin settings which is 200x200px. When I scrape the url in Facebook debug the image doesn’t display and I get this error message:

    Provided og:image, http://www.mysite.co.uk/wp-content/uploads/2016/01/thumb.jpg could not be downloaded because it exceeded the maximum allowed sized of 8Mb or your server was too slow to respond.

    If I look up the full url of the image in my browser I get a 404 message – could that have anything to do with why the image isn’t showing?

    The file definitely isn’t over 8mb. So if the server is too slow to respond, how do I address that problem?

    Thanks!

    https://wordpress.org/plugins/wp-facebook-open-graph-protocol/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Chuck Reynolds

    (@ryno267)

    Most likely you have a DNS routing problem or just the wrong path to the image. Without a URL I can’t help you test so.
    If you have a server that’s too slow then that could be a LOT of things and not something i can help with here. Test your site speed at something like http://webpagetest.org and beyond that you’ll either need to talk to your web guy or your web hosting company to help.

    Thread Starter Darren

    (@bakercreative)

    Hi Chuck,

    Thanks for the tips. I do have a video that auto-plays when the page loads, that could be what’s slowing it down. Could I DM or email you the URL to take a look at it?

    Thanks

    Plugin Author Chuck Reynolds

    (@ryno267)

    I am on twitter @chuckreynolds if you want to dm the domain.

    Plugin Author Chuck Reynolds

    (@ryno267)

    Ok got your DM..

    So this is the url you sent me: /wp-content/uploads/2016/01/yhaw-thumb.jpg

    First off… that image is too small, FB rules say 600 x 315 minimum.

    Okay secondly… and MUCH more importantly… If you try and load that image without ever going to your site first it doesn’t load and throws a 404. If you load your site then go to the image it loads fine (albeit small). Same with any other image on your site for that matter.
    SO… what (I think) that means if you have something, a plugin or cloudflare or web host, that’s blocking “hot linking” or direct access to site assets. You’ll need to either whitelist that image or turn off that feature.
    Which means facebook can’t see it and thus throws the error.

    Otherwise the plugin is functioning as intended. Cheers.

    Thread Starter Darren

    (@bakercreative)

    Thanks for your help Chuck 🙂

    Thread Starter Darren

    (@bakercreative)

    If anyone else has this same problem, Chuck’s advice regarding the server was right.

    I logged onto my cPanel, went to the section called ‘Hotlinks’ and ticked the checkbox labelled “Allow direct requests” – and hey presto it now works!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Image not showing in Facebook’ is closed to new replies.