The Alpha
The Alpha

Reputation: 146191

Facebook Share button with static image

I've set up a WordPress blog of mine and added a Facebook share button at the right sidebar, it's working but not showing the thumbnail image. I want to show only my default image as a thumbnail instead of my featured images. How can I set up a static (only my logo) thumbnail image for the share button ? I can see the meta og:image tag and it varies with articles but I want only my logo to be posted. Can anyone help me ? Thanks in advance. Here is the url of my site- http://heera.it

Upvotes: 1

Views: 3208

Answers (1)

DMCS
DMCS

Reputation: 31860

When I lint your site: http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fheera.it

It shows that you have coded the og meta tags correctly.

Currently your og:image set to http://heera.it/wp-content/themes/shadows/images/hit.png

If you want to change this, change the meta tag's content parameter to something else.

Here's what the complete meta tag currently looks like:

<meta property="og:image" content="http://heera.it/wp-content/themes/shadows/images/hit.png" />

Update:

Actually the problem was image itself. Everything was fine but the image was smaller than 200px and Facebook didn't allow it. So increasing of the size of og image to 200px the image would be showed up.

All the images referenced by og:image must be at least 200px in both dimensions.

Another ansower on SO.

Upvotes: 1

Related Questions