Support » Plugin: Complete Open Graph » Define which Size is used on og:image

Viewing 2 replies - 1 through 2 (of 2 total)
  • Answering myself…

    As code is using 1200 x 1200, as extract of OpenGraph.php shows, all is fine.

      public function add_og_image_size() {
        add_theme_support('post-thumbnails');
        add_image_size('complete_open_graph', 1200, 1200, false);
      }

    User must select an image with width at least of 1200px, uploaded after COG install or upload a new.

    I’ve tested images with width of 1100px where Media Settings ‘Large size’ is set to 1024 x 1024, and it still falls back to ‘Medium size’?

    • This reply was modified 3 years, 2 months ago by Rotozaza.
    Plugin Author Alex MacArthur

    (@alexmacarthur)

    Hi! Yes, that was a known bug — it’s been fixed with the latest version (3.0.0). Now, the large size will be used if a complete_open_graph size doesn’t exist.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Define which Size is used on og:image’ is closed to new replies.