Friday, February 18, 2011

Make Sure your Link Images show up on Facebook

I'm sure you noticed by now when you post a link on Facebook, sometimes an image shows up and sometimes there isn't one there. And sometimes you have your choice of images to pick from.
As far as game sites go this is essential. If you have people sharing the link to a game page on your site on Facebook, you want to make sure that they are also including an image of the game. <!--more-->
It is easy, just add something like this in the header:

&lt;link rel='image_src' href='<a href="view-source:"></a>' /&gt;

This is something code you put in your  like meta data. You can an example in the source code of this page, below:
<a href=""></a>

Here is an example of what you want to happen:
<a href=""><img class="alignnone size-medium wp-image-214" title="Pogo Swing on Facebook" src="" alt="" width="300" height="82" /></a>

Here is an example of it not working:

<a href=""><img class="alignnone size-medium wp-image-215" title="Justin Bieber Hair Defense on Lead Pipe Games" src="" alt="" width="300" height="73" /></a>

Enjoy and your welcome.

No comments:

Post a Comment