1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug Adding links to Facebook: Can't show thread images as thumbnail

Discussion in 'Resolved Bug Reports' started by yavuz, Feb 13, 2011.

  1. yavuz

    yavuz Well-Known Member

    I don't know if anyone is experiencing this issue. When I try to add a link to my Facebook wall, Facebook normally pulls images from the link. You can navigate through thumbnail images if there are multiple ones, to be showed as thumbnail.

    First I thought this was a host related issue. But on the same host when links from joomla or Wordpress can accomplish this, XenForo can't. Also some users in our community are experiencing the same thing (problem).

    It this designed this way or is it a software problem ?

    [​IMG]
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Do you mean the default logo or your own logo?
    Or is it that any logo isn't working?

    Your screenshot above would indicate that it is displaying the default logo OK.

    It works fine when recommending links from here or my own site.

    Or do you mean attached or embedded images within the thread?
     
  3. yavuz

    yavuz Well-Known Member

    Default logo can be replaced, that I know. I meant attached or embedded images withing thread won't show.
     
  4. Mike

    Mike XenForo Developer Staff Member

    This is how Facebook works if it finds open graph tags. We have mentioned it to people at FB. You have to remove the og tags (thread_view template) if you want to give people image options.
     
  5. yavuz

    yavuz Well-Known Member

    It would be nice if this were presented in xenforo facebook options. What exactly do I need to remove in the thread_view template Mike ?

    Thanks.
     
  6. Mike

    Mike XenForo Developer Staff Member

    Remove this:
    Code:
    <xen:container var="$head.openGraph"><xen:include template="open_graph_meta">
    		<xen:set var="$url">{xen:link 'canonical:threads', $thread}</xen:set>
    		<xen:set var="$title">{$thread.title}</xen:set>
    	</xen:include></xen:container>
     
    danswano and yavuz like this.
  7. erich37

    erich37 Well-Known Member

    is this the same issue as when I "recommend" a post to Facebook then the image is still the default XF-image......??
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    No.

    You just need to replace the logo.og.png image in the styles directory with one of your own.
     
    Rudy likes this.
  9. bizpro

    bizpro Member

    When I post my link on facebook, I get no logo at all, and I already replaced logo.og.png with my own.
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

  11. bizpro

    bizpro Member

    I fixed that warning and everything is fine - but no images at all when i link my forum?
     
  12. Brogan

    Brogan XenForo Moderator Staff Member

    For some reason it's picking up the cron image instead of the logo.og image.

    I noticed you're still running RC2 though, there have been a few changes related to FB so I would recommend upgrading to RC3.
     

Share This Page