WordPress.org

Ready to get started?Download WordPress

Forums

Facebook
[resolved] Plugin grabbing the wrong image (7 posts)

  1. geirrosset
    Member
    Posted 1 year ago #

    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/

  2. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. geirrosset
    Member
    Posted 1 year ago #

    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.

  4. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    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

  5. geirrosset
    Member
    Posted 1 year ago #

    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?

  6. geirrosset
    Member
    Posted 1 year ago #

    Never mind. I solved it. Thank you :)

  7. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    marking as resolved

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic