• Resolved stephgc

    (@stephgc)


    If it doesn’t read image size it doesn’t work. In setting up the plugin one can add a default/official image but there will be no preview and the message read that the image is x pixels instead of its true dimensions. I made an image just for the purpose at 600 x 315 pixels but still reads x.

    Note: The image shown above is scaled down. The real dimensions are actually x .

    WARNING: Your default Facebook thumbnail image dimensions are smaller than the minimum 600 x 315 recommended by Facebook.

    Nor does it pick up any featured images that might be set.

    https://www.ads-software.com/plugins/facebook-thumb-fixer/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Michael Ott

    (@mikeyott)

    Hi stephgc,

    The image dimensions are retrieved using the getimagezie() PHP function, which relies on the server having allow_url_fopen enabled (https://php.net/manual/en/filesystem.configuration.php).

    So it’s likely this isn’t enabled where your site is hosted. If you are able to edit php.ini to change the allow_url_fopen setting, then it should all be fine. But I realise this isn’t an option for everyone, especially in a shared hosting situation.

    Failing that, there isn’t a lot I can do to help and I’d suggest using an alternative plug-in.

    PS: Regardless, the image should still be picked up by Facebook. Trying running the URL though the Facebook debugger if in doubt: https://developers.facebook.com/tools/debug/

    Thread Starter stephgc

    (@stephgc)

    Thanks for the quick reply.

    The allow_url_fopen is fine. I’m the host, ??

    I ended up using an alternative plugin.

    I wanted to blame it on the old template but still had issues after I put in a new template. As it turned out it was an issue with Jetpack which was writing its own og metas and using WordPress SEO by Yoast overides Jetpack in this case. so that’s what I did.

    I have used your plugin successfully on two sites in development. That’s why I was surprised when it “burped’ on this one site. But this particular instance is an older blog having gone through many upgrades of WordPress since its inception.

    I’m having this very same issue. It’s extra baffling because the latest debug shows the proper default image. Problem solved, I thought, but when I try to share on FB, the image does not appear. This issue has vexed me from the beginning so it’s very likely on my end rather than a problem with the plugin. I’m at https://www.marklaflamme.com/oldspeak if that’s helpful in any way.

    Plugin Author Michael Ott

    (@mikeyott)

    Hi Emmalfal,

    It looks OK from here. Facebook Debugger checks out fine, and if I share one of your posts on Facebook I see this:

    View post on imgur.com

    Is that correct?

    That looks absolutely perfect. I’m bewildered. I did have a few other ‘set image source’ type plugins that I’ve since disabled. Seems like those might have caused a conflict. I appreciate that super, duper fast troubleshoot. Clearly your plugin is doing what it’s supposed to.

    Plugin Author Michael Ott

    (@mikeyott)

    Cheers.

    Glad it’s working out for you – kind of ??

    Forget ‘kinda,’ I think it’s all better now. Just your presence scared it into submission. Many thanks. I’ll be sure to review.

    Plugin Author Michael Ott

    (@mikeyott)

    Haha – Awse!

    Does anyone have a recommendation for another FB thumbnail plugin that will work? I’m getting the same error message as Stephgc with no way to resolve it. STephgc, which alternative plugin did you go with?

    Thanks! ??

    Thread Starter stephgc

    (@stephgc)

    LeanneCCC, if you have Jetpack installed and activated and the sharing module of that activated, try using WordPress SEO by Yoast. That is what solved the problem for me.

    That’s not to say the thumbnail fixer is a bad plugin. It has worked on two sites out of 3 so far which is quite awesome to me.

    Thanks stephgc! I’ll give that a try!
    Btw, I did afterwards manage to get the FB thumbnail to successfully work on one of the sub-pages in my website, but still not for the master default thumbnail for the overall website.
    On the sub-page, it may simply have worked because on that page I chose to classify that page and the thumbnail image I selected specifically for that page, as an ‘article’ (ie. the plugin’s suggested default classification for that page) instead of ‘website’ (which is the default classification for the main thumbnail image where the error message kept appearing in the admin panel for the default image for the plugin).

    Thread Starter stephgc

    (@stephgc)

    You’re welcome, LeanneCCC. I hope my fix for the issue works for you, too.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Doesn't read image size.’ is closed to new replies.