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


(E) #1

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?


(David) #2

This post should help:


(E) #4

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


(Gary) #5

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


(E) #6

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


(Dave Farrants) #7

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.


(E) #8

YAY thank you DaveFox … will do!


(E) #9

THANK YOU EVERYONE

Its looking good now!