Register | FAQ Search Today's Posts Mark Forums Read
Old 12-10-2009   #1 (permalink)
 
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.
Old 12-11-2009   #2 (permalink)
eMarketing & support tigress
 
tess's Avatar
[+] more user info
 
tess is offline  
Join Date: Aug 2008
Location: Cape Town, South Africa
Posts: 3,710
Thanks: 1,618
Thanked 247 Times in 233 Posts


Hi Enrico,

I don't have an answer for you at the moment, but in general have you blocked/opened your images folder for indexing by bots? Just a thought, probably don't help you in this case, but something you should do anyway (in my opinion).

Let me know if you find out the solution. I've asked some Joomla friends about this one as well so we'll see if they come back with something. Btw, this forum thread is open for the public so you can tweet this url and ask people to reply here if you want. :)

Cheers,
Tess
  Reply With Quote
Close your threads - click "Mark this response as the best answer" on the post with the best reply.

Save time -
use the Webdev Toolbar & Firebug extensions for Firefox when you develop your site.

Stay updated via newsletter, Facebook and Twitter: prothemer | jMorph | joomlatips | tessneale | SEOnewsdaily
Old 12-11-2009   #3 (permalink)
 
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


Originally Posted by tess View Post
Hi Enrico,

I don't have an answer for you at the moment, but in general have you blocked/opened your images folder for indexing by bots? Just a thought, probably don't help you in this case, but something you should do anyway (in my opinion).
Yes, images folder is blocked to bots as per robots.txt default setting:
Code:
Disallow: /images/
I'll give it a try by allowing it.
  Reply With Quote
Old 12-12-2009   #4 (permalink)
Support Staff
 
matt's Avatar
[+] more user info
 
matt is offline  
Join Date: Aug 2007
Location: Columbus Ohio
Posts: 2,474
Thanks: 207
Thanked 243 Times in 213 Posts


Wow. Nice Tip Tess. Never even occurred to me.
  Reply With Quote
Recommended FREE debugging tools:
We highly recommend using Firefox for development, along with the awesome WebDev Toolbar & Firebug Extensions.

Follow us on Twitter:
prothemer | connectr | pixelprodigy | tessneale | matthewlking
Old 12-12-2009   #5 (permalink)
 
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


I've checked the robots.txt and images folder is allowed.
  Reply With Quote
This is a Advertisement. Sign up to have these ads removed.
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1 Downloads powered by vBadvanced Dynamics v1.1.0.

Love Thy Favicon!

Click on a block to select it..