Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way I can make one of the images on a website more likely to be posted with a Facebook like or recommend?

share|improve this question
up vote 3 down vote accepted

From the like button documentation:

<meta property="og:image" content="http://example.com/path/to/image.png" />

See that page for several other tags you can also set.

share|improve this answer
    
OK thanks, but I understand that in order for this to work I have to use all six required meta tags, is this correct? Thank you for your help. – Jane Oct 10 '11 at 14:58
    
Update 2015. To what I understand, Facebook has changed the link to the document. Now you can find the tags on Facebook Debug – Ooker May 3 '15 at 5:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.