Hi @gabrielaandrade
Thanks for using the Yoast SEO plugin. We understand that you are noticing an issue with the image preview for LinkedIn and Facebook.
First, can you please check the source code of the page to confirm whether the <meta property="og:image" is outputted or not? Sometimes the missing og:image meta tag occurs due to the conflict caused by another plugin or theme.
Also, we recommend you check whether any duplicate <meta property="og:image" is outputted or not. These are the root causes for the image not showing correctly while sharing on social media platforms. If you can share the page URL at which you are noticing the issue, it would be helpful for us to check this further for you.
Hello,
By manually reuploading the images for every page, I was able to get them working for most links; however, if the link was to a PAGE and not a POST, the error remains, where the image preview for the links show as a blank square.
When the links are placed into the LinkedIn Post Inspector, it has no issue pulling up the correct image. I have checked the source code, and the <meta property="og:image"> is both loaded correctly and not a duplicate.
One of the pages where this is occurring is https://ebq.com/integrated-marketing-services/digital-marketing-services/
The blank square occurs for the links posted on both our Facebook and LinkedIn pages.
The square blank image will show as a preview before posting. Once you tweet, the preview will show as a large image with a link added without showing the title and description which you set, in line with Twitter’s recent changes. See screenshot
@maybellyne this is affecting not posts to be made, but existing posts from months or weeks ago. It is affecting our posts on both LinkedIn and Facebook – we are not concerned with our Twitter posts, which we know are affected by Twitter’s recent changes.
Here’s what the page you shared looks like currently:
It scraped for LinkedIn at first but returned a server error the second time. Have you considered speaking with your web hosting provider if there’s a temporary issue? If the necessary meta tags are showing in your page source, the problem is not the Yoast SEO plugin
I have run the URL through the Post Inspector several times and have been unable to recreate the error you received. Regardless, I cleared the server caches and looked into our web host, but there does not seem to be any errors on their end.
When creating a new post with the same link, the link preview image loads without issue, so I am assuming there is some sort of misalignment in the stored data.
As it does not seem to be affecting our future posts and we have been able to resolve the issue for the majority of our posts, we are moving forward and going to close this thread for the time being. Thank you for your insights!