Support » Plugin: Yoast SEO » Why not set the og:image tag to the featured image by default?

  • Resolved Graham Stoney

    (@greyham)


    I just went to share this page on Facebook, and found that the featured image wasn’t used as the thumbnail for the post. Facebook Debugger tells me the og:image tag is missing; and it’s right!

    I’m using Yoast SEO and noticed the Social: Facebook Image field in the post editor, which probably fixes this… but why doesn’t Yoast SEO set the og:image tag to the featured image by default? Why do I need to set the Facebook Image field manually what I have a computer that can do things like that for me?

    • This topic was modified 3 months, 3 weeks ago by Graham Stoney.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Jeroen Rotty

    (@jeroenrotty)

    Hi @greyham,

    Thank you for reaching out.

    We understand that you configure a featured image for a post or page on your site, but that doesn’t output it as the Open Graph image for it.

    That is not default behavior. Yoast SEO should output the og:image pointing at the image URL of the featured image that is configured for the post/page. If that is not the case in your experience, we would need to know a bit more.

    A) Are you using Yoast SEO 15.0?
    B) Are you using WordPress 5.1.1?
    C) Are all other plugins and themes up to date as well?

    If everything is above is just fine and you are running all latest versions, we’d encourage you to do a conflict check to see when the og:image does get outputted and when not. We believe that either your theme, another plugin or custom code on the site is preventing this from happening.

    We have a step-by-step guide on how to do a conflict check here: https://kb.yoast.com/kb/how-to-check-for-plugin-conflicts/.

    Thank you for your quick response Jeroen, and for confirming that I’m not going crazy. I checked for plugin conflicts, but it turned out I had used a .bmp file in that post, which isn’t supported by OpenGraph. I’m guessing Yoast SEO only outputs og:image tags for supported image types. I’ve replaced it with a .png and it now works.

    Thanks again,
    Graham

    • This reply was modified 3 months, 3 weeks ago by Graham Stoney.
    Plugin Support Jeroen Rotty

    (@jeroenrotty)

    Hi @greyham,

    Thank you for your reply and confirmation that you were able to fix it.

    Yes, that sounds correct.

    Happy to hear it’s resolved, we’ll mark this topic as resolved. If you have any other questions, feel free to open a new forum topic.

    Have a great day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.