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

**URL:** <https://forums.realmacsoftware.com/t/how-to-force-facebook-to-grab-the-best-image-from-your-page/15788>\
**Category:** RapidWeaver Classic\
**Tags:** rapidweaver\
**Created:** [August 18, 2017, 4:16am UTC](https://forums.realmacsoftware.com/t/how-to-force-facebook-to-grab-the-best-image-from-your-page/15788 "2017-08-18T04:16:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Figory](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/figory/32/10659_2.png) [@Figory](https://forums.realmacsoftware.com/u/Figory)\
**Post date:** [August 18, 2017, 4:16am UTC](https://forums.realmacsoftware.com/t/how-to-force-facebook-to-grab-the-best-image-from-your-page/15788/1 "2017-08-18T04:16:10Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![thang](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/thang/32/303_2.png) [@thang](https://forums.realmacsoftware.com/u/thang)\
**Post date:** [August 18, 2017, 4:41am UTC](https://forums.realmacsoftware.com/t/how-to-force-facebook-to-grab-the-best-image-from-your-page/15788/2 "2017-08-18T04:41:51Z")

</div>

This post should help:

> [@Facebook og meta property tags](http://forums.realmacsoftware.com/t/facebook-og-meta-property-tags/13432/10):
>
> If you are typing them by hand, then you can use what David(@thang) gave you. If you are doing open graph tags, then one of the tags that FB requires is the URL (different per page). I find it much easier just to type them in and edit then pastes the meta tags them self in the head section. Here is the facebook Doc on the subject: [https://developers.facebook.com/docs/sharing/webmasters](https://developers.facebook.com/docs/sharing/webmasters) FB tends to move the Documentation around, but it should give you some samples and explain each tag prope…

---

<div class="post-metadata">

**Author:** ![Figory](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/figory/32/10659_2.png) [@Figory](https://forums.realmacsoftware.com/u/Figory)\
**Post date:** [August 18, 2017, 5:57pm UTC](https://forums.realmacsoftware.com/t/how-to-force-facebook-to-grab-the-best-image-from-your-page/15788/4 "2017-08-18T17:57:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![webdeer](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/webdeer/32/5299_2.png) [@webdeer](https://forums.realmacsoftware.com/u/webdeer)\
**Post date:** [August 18, 2017, 6:38pm UTC](https://forums.realmacsoftware.com/t/how-to-force-facebook-to-grab-the-best-image-from-your-page/15788/5 "2017-08-18T18:38:18Z")

</div>

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](http://d.pr/i/kwWWWM)

---

<div class="post-metadata">

**Author:** ![Figory](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/figory/32/10659_2.png) [@Figory](https://forums.realmacsoftware.com/u/Figory)\
**Post date:** [August 18, 2017, 6:40pm UTC](https://forums.realmacsoftware.com/t/how-to-force-facebook-to-grab-the-best-image-from-your-page/15788/6 "2017-08-18T18:40:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![DaveFox](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/davefox/32/129_2.png) [@DaveFox](https://forums.realmacsoftware.com/u/DaveFox)\
**Post date:** [August 18, 2017, 7:02pm UTC](https://forums.realmacsoftware.com/t/how-to-force-facebook-to-grab-the-best-image-from-your-page/15788/7 "2017-08-18T19:02:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Figory](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/figory/32/10659_2.png) [@Figory](https://forums.realmacsoftware.com/u/Figory)\
**Post date:** [August 18, 2017, 7:03pm UTC](https://forums.realmacsoftware.com/t/how-to-force-facebook-to-grab-the-best-image-from-your-page/15788/8 "2017-08-18T19:03:43Z")

</div>

YAY thank you DaveFox … will do!

---

<div class="post-metadata">

**Author:** ![Figory](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/figory/32/10659_2.png) [@Figory](https://forums.realmacsoftware.com/u/Figory)\
**Post date:** [August 18, 2017, 10:18pm UTC](https://forums.realmacsoftware.com/t/how-to-force-facebook-to-grab-the-best-image-from-your-page/15788/9 "2017-08-18T22:18:10Z")

</div>

THANK YOU EVERYONE

Its looking good now!
