Jump to:

3439 Posts in 1028 Topics by 869 members

Template Questions

SilverStripe Forums » Template Questions » Facbook share thumbnail / image problem

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

Page: 1
Go to End
Author Topic: 912 Views
  • Optic Blaze
    Community Member
    162 Posts

    Facbook share thumbnail / image problem Link to this post


    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="http://www.example.com" /> 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
  • sajok
    Community Member
    82 Posts

    Re: Facbook share thumbnail / image problem Link to this post

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


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.