• Resolved BloggerDave

    (@bloggerdave)


    I am sure it has frustrated many people, but today I took a look at the code for this plugin and found a problem. It was probably an unintended bug. I have posted the suggestion correct in another forum but am posting a note here so that maybe the author may see it.

    If you know how to use editor to edit your plugin, however, please take a look at the Suggested Fix.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Chuck Reynolds

    (@ryno267)

    Hey BloggerDave, actually that was the intended usage of it, and if you look at the changelog I changed it a couple times trying to keep up with how Facebook pulls the image array order.
    I’ve got a new version ready to release that completely rewrites the way images are handled anyways. If you look at the readme you’ll see the github link and in the “develop” branch that pre-release version is there.

    Thread Starter BloggerDave

    (@bloggerdave)

    That is the intended usage? Huh, then I have to re-think the logic because as it is right now, it is not very clear to me.

    One confusion to me is that in the current version, it does not matter whether one checks the wpfbogp_force_fallback flag (via the corresponding checkbox). If I remember it correctly, if you check it, it will use the default image, but if you don’t check it, it will still present the default image as the first selection when one share the site on facebook.

    In my mind, when one uncheck the flag, it should use the feature image and the images from the post, and then it is ok to present the default image at the end, but not as the first choice as that sounds like “forcing” to me.

    But it is ok if you view it as intended as you are the author. I might need to make the little tweak on my end though. ??

    And thanks for your reply!

    Thread Starter BloggerDave

    (@bloggerdave)

    Also, it looks like you are using wpfbogp_force_fallback to decide whether feature image is to be pulled, but use wpfbogp_fallback_img to decide whether fallback image is to be shown.

    Plugin Author Chuck Reynolds

    (@ryno267)

    So back when that was released Facebook was good about having multiple images and always displayed the last one in the array first; so having the default image as the first was fine. At one point they flipped it… so did I… then they went back to the original way. So I flipped it back.
    Then FB was giving arrows to cycle through them… and that functionality is still there, but only rarely. The way I’ve rebuilt the new one is a little different. Again if you go to github in the develop branch and read that readme it explains the new way it’ll work.

    Hope that helps you out. Cheers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Default Image instead of Post Image or Feature Image’ is closed to new replies.