Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter LionSpratt

    (@lionspratt)

    Anybody?? I need help pleaseeee

    You need to set a default image for the main page that at the moment has none. og:image is empty. I used this article to help me out: https://www.wpbeginner.com/wp-themes/how-to-avoid-no-thumbnail-issue-while-sharing-post-on-facebook/

    I had many posts which did not have an image so I wanted a default image to be used. You also need to make sure that any image you use is at least 200×200 or Facebook won’t use it for a thumbnail preview image.

    Hope that helps.

    Thread Starter LionSpratt

    (@lionspratt)

    I still cannot figure it out.
    I’ve pasted the code in the function.php
    I’ve downloaded and installed the Add image_src Meta Tag plugin provided in your link too
    I’ve also installed WordPress SEO plugin and set an image there.
    I’ve debugged it again, and it keeps giving me a warning to fix that I don’t understand a thing of it.
    At least it shows my image at the og:image
    but it’s still not working.

    What am I missing here?

    Thread Starter LionSpratt

    (@lionspratt)

    Oke……I fixed it. I have no idea what I did, but it’s working now.
    I pasted this code in the header.php

    <meta property=”og:image” content=”https://example.com/image.jpg”/&gt;

    of course changing the url, and used an image of 250×250
    (I used an image of 200x200px first, but apparently, that doesn’t work.)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No image shows when I share my website on Facebook.’ is closed to new replies.