WordPress.org

Support

Support » Plugins and Hacks » Facebook » [Resolved] Plugin grabbing the wrong image

[Resolved] Plugin grabbing the wrong image

  • geirrosset

    @geirrosset

    When posting to my fb timeline or page, the plugin grabs the image off an ad in my right hand sidebar. I have tried using both the featured image and my themes thumbnail shortcode.

    The image it grabs is the filemail logo at the bottom right: http://www.paafeltet.org/?p=3917&lang=en

    It would be sooo nice if the plugin had even the slightest bit of interaction. Like choosing where to post (maybe you dont want to send every WP post to fb) or choosing which image to display on fb (maybe there are multiple images). As is all I can do when posting is add some text, which is rather pointless as the text should already be in the WP post. Why would you need to add text to a post before showing it on fb? What kind of info would you need on fb that you don’t want to display in the original post on WP?

    http://wordpress.org/extend/plugins/facebook/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Niall Kennedy

    @niallkennedy

    There is no og:image declared in the link you shared. The Facebook plugin outputs an og:image if the current post type supports featured images and the current post has a featured image.
    http://www.paafeltet.org/?p=3917&lang=en

    You may debug Facebook parsing of your page on the Facebook Developers site.

    geirrosset

    @geirrosset

    That really doesn’t help me much. I just installed the plugin, added the open graph app on fb as instructed and now it doesn’t work. Where do I choose the og:image. As the post has the option to include a featured image I guess we can assume that the current post type supports featured images and as I said I did select the featured image. Still the plugin grabs the filemail logo in the lower right hand corner as og:image, as is seen in the debugger.

    Plugin Author Niall Kennedy

    @niallkennedy

    geirrosset: new forum sticky explaining how to add a custom function customizing Open Graph protocol properties passed through a WordPress filter:
    http://wordpress.org/support/topic/customize-open-graph-protocol-for-your-site-or-network

    geirrosset

    @geirrosset

    What does that code do? Fallback image is what exactly? It’s been a while since I took programming at Uni, but it looks to me like it tells the plugin to use a WP logo on any page that doesn’t have a featured image. Problem is, my posts have featured images, the plugin just doesn’t display it properly. So instead of addressing the issue we just skip it by displaying something else that I don’t want to display?

    geirrosset

    @geirrosset

    Never mind. I solved it. Thank you 🙂

    Plugin Author Niall Kennedy

    @niallkennedy

    marking as resolved

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Plugin grabbing the wrong image’ is closed to new replies.
Skip to toolbar