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

Fixed Full path to OG image problem

Discussion in 'Resolved Bug Reports' started by MYstIC G, Mar 3, 2011.

  1. MYstIC G

    MYstIC G Active Member

    I'm utterly rubbish with images and have on more than one occasion dinked them by accident and had to restore them. Trying to avoid this on XenForo I setup a subdomain and amended my default style so that the "Path to Images is http://img.consoleforums.org

    The styles are fine on XenForo but when something is liked on facebook the custom logo.og.png doesn't show up ( http://img.consoleforums.org/xenforo/logo.og.png )

    Facebook's HTML for the image ends up being
    <img class="img"  src="http://external.ak.fbcdn.net/safe_image.php?d=09c3d3fa27e3274f8a174d56387c28b0&amp;w=90&amp;h=90&amp;url=http%3A%2F%2Fwww.consoleforums.org%2Fhttp%3A%2F%2Fimg.consoleforums.org%2Fxenforo%2Flogo.og.png">
    Any ideas how to fix this or what I've messed up?

  2. Brogan

    Brogan XenForo Moderator Staff Member

    I created a new directory (cliptheapex) under the styles folder and set the path as follows: styles/cliptheapex
    My Facebook logo path is then: styles/cliptheapex/xenforo/logo.og.png

    That seems to work fine for me.

    You could always move the logo to where Facebook expects it to be?
  3. Mike

    Mike XenForo Developer Staff Member

    This is actually a bug in our code...
  4. Mike

    Mike XenForo Developer Staff Member

    The issue here is fixed now -- actually in a couple ways. The OG logo path is now a style property as well (like the regular logo) so you can set that directly.
  5. MYstIC G

    MYstIC G Active Member

    Cheers Mike.
  6. Brandon Sheley

    Brandon Sheley Well-Known Member

    which style property exactly?
  7. Dan

    Dan Well-Known Member

    header and navigation -> settings ->Facebook Open Graph Logo
    Brandon Sheley likes this.

Share This Page