HOW TO: Force Facebook to Grab the Best Image from Your Page

I have created a site in foundry
I’m having trouble with sharing pages.

I have some ugly Amazon Buy buttons and on some pages when page is Shared to facebook /google plus etc
the button images are being selected rather than the appropriate image

How can i add code so that the right image is shared?

This post should help:

1 Like

Thank you so much for both responses.

Im nearly there. I had hoped the method of hiding an image at the top would work, as nice and easy!
BUT in this case no luck. I now have no image at all.

How do I set my Open Graph tags on an image ? OG tags

You can enter your Facebook information into this code and insert this into the Head section of your page. Use Steve’s link above if necessary to explain some of these settings. You can define what Facebook image to use here.

<meta property="og:type" content="website"/>
<meta property="og:title" content="My Sites Title"/>
<meta property="og:image" content="http://mydomain.com/myimage.jpg"/>
<meta property="og:url" content="http://mydomain.com"/>
<meta property="og:description" content="Insert description here"/>
<meta property="og:site_name" content="My Sites Name"/>
<meta property="fb:admins" content="fb_username"/>

See http://d.pr/i/kwWWWM

3 Likes

Hi Gary

Thanks a million! Im going mad!

re:

How do i know image title ? at the mo im using the alt name in the image stack (of a hidden on all formats stack) and its not working

Choose your image (Facebook recommends 1200x600), filename it to whatever you want, FTP it in your root, use the filename and location as your og tag.

1 Like

YAY thank you DaveFox … will do!

THANK YOU EVERYONE

Its looking good now!