Jump to:

3401 Posts in 979 Topics by 855 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: 868 Views
  • Optic Blaze
    Avatar
    Community Member
    155 Posts

    Facbook share thumbnail / image problem Link to this post

    Hi,

    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
    Avatar
    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 ..!

    ?

    868 Views
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.