Find a Depot

Browse all depots

It’s a question we’ve heard many a time and relates to “open graph” images – “When I share a page on my website to social media, an image doesn’t show up” or sometimes the issue is a random image shows up. Why does this happen?Facebook and Twitter firstly look at the code of your website to see if certain tags/snippets of code are there, to tell the platform what image to show. If that tag isn’t there, the platforms will usually pick out the first image it sees, or sometimes it just won’t even bother doing that, as seen below:

No image sharing on facebook

  This isn’t ideal for brand continuity. Even worse is when Facebook or Twitter pick an image at random, usually a logo:

Our logo in our header is white, which doesn’t sit very well on white. With our logo being rectangular and the area where Facebook shows the image being square, it usually means there’s some unfortunate cropping.   Ok, you get the problem, and you’re probably here because you’ve seen it for yourself.

The code to tell Facebook what image to use when sharing a web page

<meta property='og:image' content='http://www.digitalpeanut.co.uk/image-relevant-to-the-page.jpg'/>Simply replace the bit starting http with your own image, then place it in the<head>of the desired page on your website  

The code to tell Twitter what image to use when sharing a web page

<meta name='twitter:image' content='http://www.digitalpeanut.co.uk/image-relevant-to-the-page.jpg'/>

Image sizes to use for open graph images

For Facebook, use an image 1200px x 630px. For Twitter, it’s a ratio of 2:1, with a minimum size of 300px x 157px, maximum of 4096px x 4096px. We’d recommend going for 1000px x 500px.  

Having problems adding social media sharing image to your own website?

Never fear, for Digital Peanut is here. We can help you get this added to every page on your website from just £60.Get in touchto tick another niggle off your list. Trust us, sharing on social media is a piece of cake.  

24 thoughts on “Why isn’t an image showing when I share a page on social media?

  1. Great article! The strategic depth of Texas Hold’em really shines in tournament settings. It’s interesting how platforms like Jili77 com are integrating AI to help players improve their game-definitely a smart move for serious players.

  2. Heard some good things about cwinz. Decided to give it a shot and so far, so good. Nice interface and a decent range of betting options. Early days but feeling optimistic! cwinz

  3. So, I stumbled across 555pub the other day. It’s…well, it’s something! If you’re curious, give it a peek. You might find something you like. Here’s the link: 555pub.

  4. Just downloaded the 80winapp app. Pretty smooth, easy to use on mobile. The mobile experience is great and I have fun playing it at bus stops for killing time. Worth checking out if you like playing on the go.

  5. Winer’s got a good vibe! I messed around on their site for a couple of hours. It was fun. I wish they had faster support but it’s pretty great. Give ’em a go at winer

  6. Really insightful post — Your article is very clearly written, i enjoyed reading it, can i ask you a question? you can also checkout this newbies in seo. thank you

  7. Ahaa, its fastidious conversation concerning this piece of writing at this place at this website, I have read all that, so at this time me also commenting at this place.

  8. Hey gamers! 888slotapps is where it’s at if you’re looking for some mobile fun. Downloaded the app and instantly got hooked. Simple to use with tons of options. Definitely worth checking out. 888slotapps

Leave a Reply

Your email address will not be published. Required fields are marked *