0

When users of our websites share a link from our SharePoint website on Facebook, Yammer, or any other social media, the image thumbnail defaults to a random image (see image) Image of shared link from SharePoint

We've attempted to add an image under the Page Settings > Edit Properties > Page Image, but it did not successfully display an image.

We are looking to have the page image to either display our organization's logo or the feature image for that SharePoint page.

Has anyone been able to do this in SharePoint? If so, what steps should we be doing?

1 Answer 1

1

I solved the problem by using Open Graph tags in the SharePoint 2013 master pages. It's worth looking into Open Graph tags to understand it in more depth if you plan on using more of these tags. Here are two articles that I found useful:

In the end, my master page code had two additional metatags as follows:

<meta property="og:image" content="/Style%20Library/YOUR-IMAGE-THUMBNAIL.png" />
<meta property="og:image:type" content="image/jpg" />

Just be aware that this sets the thumbnail image for ALL links that are derived from your website.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.