Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to specify an image to appear in facebook link to your site?

Tags:

Silly question: Seeing as how Facebook will automatically sniff out images from a website when somebody links to it, is there any way to give Facebook a hint as to which image you'd prefer be used from your site? Currently, the logo image that I'd like to appear doesn't even show up in the list that Facebook generates.

Any ideas?

like image 891
Jason Kester Avatar asked Jan 19 '10 00:01

Jason Kester


People also ask

How do I choose a Facebook link preview image?

Enter the link to your site, click the 'scrape' button a few times. Keep clicking it until your new preview image you just uploaded appears in the preview area. And presto! Now your website link is looking on point and ready to make its debut!

Can I make a photo on Facebook a clickable link?

Adding Clickable ImagesCopy the URL you want to link the images to your post. All of the valid images on the page will then automatically appear in the post. If there is more than one image on the website page, you will see arrows to the left and right allowing you to scroll through the images.


2 Answers

There is also a new format

<head>     <meta property='og:image' content='http://yoursite.com/INSERT_YOUR_IMAGE.jpg'/> </head> 

More details here and here. Also the facebook share docs as posted by eliah on this page.

like image 78
rickmaneluis Avatar answered Oct 02 '22 13:10

rickmaneluis


<link rel="image_src" href="/path/to/image.jpg" / > 
like image 43
eliah Avatar answered Oct 02 '22 12:10

eliah