Skip to content

How to Add an Image to Your Website Link

Updated

Short answer

To make an image appear when your website link is shared, give the page a sharing image (also called a social or Open Graph image). Most website builders have a field for it in the page’s SEO or social settings. If your site is custom-built, add one line to the page’s code that points to a 1200 × 630 image.

If your link shows up with no picture at all, your page isn’t telling apps which image to use. Here’s how to give it one.

Osman Ali
1,204 followers
1h ·
Follow

Check out this website!

182 comments · 1 repost
LikeCommentRepostSend
Before: a LinkedIn post with no image.
Osman Ali
1,204 followers
1h ·
Follow

Check out this website!

182 comments · 1 repost
LikeCommentRepostSend
After: the same link with a sharing image.

Option 1: Use your website builder’s setting

Look in the page’s settings for one of these:

  • Social image or social share image
  • Open Graph image or OG image
  • Featured image (some builders use this)
  • SEO settings, then a Social or Facebook tab

Upload a 1200 × 630 image, save and publish.

Instructions for your website builder

Option 2: Add it to the page code yourself

If your website was built by hand or by a developer, the image is set with one line inside the page’s <head> section:

<meta property="og:image" content="https://yourwebsite.com/images/sharing-image.jpg">

The address must be the full address, starting with https://, and the image must be publicly reachable. It also helps to add the X card setting so X shows the large image:

<meta name="twitter:card" content="summary_large_image">

Common mistakes to avoid

  • !Using a relative address like /images/photo.jpgApps need the full address, including https:// and your domain.
  • !Adding the image to the page body insteadA photo on the page isn’t the same as a sharing image. Apps look for the sharing image setting.

Frequently asked questions

Your page probably doesn’t set a sharing image, so apps don’t know which one to use. Add one in your page’s SEO or social settings.

Yes, as long as it’s a good shape. Crop it to 1200 × 630 first so it isn’t cut off.

Sources

Check it on each app

Related guides

Find out what’s wrong with your preview

Paste your link: we’ll show you every preview and how to fix it.