Forums

Simple OpenGraph
[resolved] feature suggestion (6 posts)

  1. Ovidiu
    Member
    Posted 11 months ago #

    looks nice but how about adding a default fall-back image in case a post doesn't have an attached image?

    http://wordpress.org/extend/plugins/simple-open-graph/

  2. PcFrk256
    Member
    Posted 11 months ago #

    I thought about that, but I was having a hard time deciding what fallback to use.

    I like the idea, do you have any suggestions on what it should fall back to?

    I've updated the code (earlier today) so that when there's no image, it doesn't insert the <...og:image> info at all.

  3. Ovidiu
    Member
    Posted 11 months ago #

    hm, good question...
    how about giving the plugin an option? so that the user can specify a default image? i.e. the site logo?

    if you don't want to code an options page just for this, maybe offer a place in the plugin where one can edit and place the default image URL?

  4. PcFrk256
    Member
    Posted 11 months ago #

    I'm working on an option page right now...I already wanted to include the option for fb:admins. I'll include that as well.

    ...otherwise, you can specify the image, if there isn't one already, in the echo() on line 57.

  5. PcFrk256
    Member
    Posted 11 months ago #

    I've created an admin page where you can specify an image fallback as well as fb:admins and fb:app_id

  6. Ovidiu
    Member
    Posted 11 months ago #

    cool, thanks :-)

Reply

You must log in to post.

About this Plugin

About this Topic