Guides · Sharing
How to add a share image to your page
When someone shares your page on Facebook, LinkedIn or Slack, the platform builds a small preview of the link. It looks in your page for an image to put in that preview. If your page does not name one, the link may show as plain text, or the platform may pick a picture by itself.
Your report raises this when the image is missing, its address is incomplete, it does not load, it is too small, or it has the wrong shape.
What sets the image
One line in your page's HTML names the image. It is called the og:image tag:
<meta property="og:image"
content="https://example.com/images/share.jpg">
Visitors do not see this line on the page. Platforms read it when a link is shared.
What image to use
- Make it at least 1200 by 630 pixels. Smaller images may appear as a thumbnail or get cropped.
- Keep it close to that shape, which is about 1.91 to 1. Your report warns when the width divided by the height is below about 1.66 or above about 2.16, because the image may be cropped.
- Use a JPG or PNG file. Our check cannot read an SVG file, and X does not support SVG in its cards.
- Use the full address, starting with
https://. Most platforms ignore a partial address such as/images/share.jpg. - Keep the file under 3 MB. Our check stops downloading at that size and reports that the image could not be loaded, and a smaller file is quicker for platforms to fetch.
- Make sure it opens without a login. Platforms cannot use an image they cannot load.
How to set it
- Make or choose an image of 1200 by 630 pixels. Keep words and logos near the middle, in case a platform trims the edges.
- Upload it using the steps for your site builder below.
- Publish the change.
Menu names change over time, so look for social or share settings if a name below differs.
- WordPress with Yoast or Rank Math: open the page in the editor and find the Social tab in the plugin's panel. Add the image there. If you leave it empty, the plugin may use the featured image.
- Shopify: set a default in the Online Store preferences, under the social sharing image. Products, collections and blog posts usually use their own featured image.
- Wix: open the page's Social Share settings and upload the image.
- Squarespace: set a site-wide social sharing image in your settings. A page's Social tab can set a different one for that page.
If your site has no such setting, a developer can add the tag above with the full address and check that it returns the image itself.
How to check
- Paste the image address into a private browser window. The image should appear on its own.
- Press Rescan on your report to test the page again.
- Share the link in a private message to yourself to see the preview.
Platforms often keep an old preview for a while. Facebook's Sharing Debugger can make it read your page again, and LinkedIn's Post Inspector may also help.