• Resolved uqamsav

    (@uqamsav)


    We had been using the plugin succesfully for the past 6 or so months.

    Generally all featured images from our custom post type are meant to be used as og:image, there are a few exceptions however, and for these we assigned an image override using yoast Facebook image.

    The override stopped working after a recent update.

    The odd thing is that twitter:image shows the proper override, but og:image shows the featured image.

    Very similar to this issue : https://github.com/Yoast/wordpress-seo/issues/11172

    • This topic was modified 5 years, 6 months ago by uqamsav.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter uqamsav

    (@uqamsav)

    The offending code was add_filter( 'wpseo_opengraph_image_size', function(){ return 'large'} );
    Since version 11 the wpseo_opengraph_image_size filter overrides an explicitly set facebook image on post, and instead returns the featured-image

    Hi,

    We would like some more information.

    1. Can you confirm you are using the most recent Yoast SEO, v11.2.1? If you update, does the issue resolve?

    2. Are all your non-Yoast plugins and themes also updated?

    3. The images you are using for Facebook, are they the correct size? We ask as the featured image is the fallback if the image is not correctly sized. This guide explains more about size standards: https://developers.facebook.com/docs/sharing/webmasters/images/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘og:image override not working’ is closed to new replies.