Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Facbook share thumbnail / image problem

Go to End

2 Posts   1298 Views

Optic Blaze

Community Member, 190 Posts

1 July 2011 at 7:10pm

Edited: 01/07/2011 7:11pm


I have recently built a blog that is working well. However when someone tries to share the link on Facebook, the thumbnails of the images in the blog does not show up in the Facebook post box.

After doing some research i figured out that i have to create the following meta tag in my <head> tag ...... < link rel="image_src" href="" /> that is supposed to list all the images that i have on the page so that the person that wants to share the page can have a selection of thumbnails to choose from when sharing the link.

I assume that i have to replace the href with the url to images on my page using the <% control %> feature, but i am unsure if i must use $url or $image or $file????? I have attached a screenshot.

Some help would be appreciated

Attached Files

Community Member, 82 Posts

6 December 2011 at 12:48pm

I wonder if you have found a solution to that problem? I'm having the same issue with facebook like button ..!