View Single Post

Old 12-10-2009   #1 (permalink)
Enrico
 
Enrico's Avatar
[+] more user info
 
Enrico is offline  
Join Date: Nov 2009
Location: Italy
Posts: 319
Thanks: 86
Thanked 41 Times in 27 Posts
How to let facebook grab images included in articles when shared?



When I share articles from some websites, facebook asks to choose which image to use for article's thumbnail. This doesn't happen with default joomla articles unless you use a 'link rel' in the code.

Actually I'm using the same thumbnail for all articles by using this code:
Code:
<link rel="image_src" href="http://www.website.com/preview.jpg" />
inside <head> </head> in /joomla/templates/mytemplate/index.php
and it's working.

However the 'preview.jpg' is grabbed by facebook even though shared article has 2-3 images included.

Anyone knows how to let facebook grab images from shared articles and use them for the preview?

I've also had a look here: Share | Facebook
and tried adding <link rel="image_src".... code directly in articles with no luck.

Thanks in advance.
  Reply With Quote
This is a Advertisement. Sign up to have these ads removed.