Support » Plugin: WP Facebook Open Graph protocol » og:image too small

  • Resolved chomo

    (@chomo)


    Hello !

    There’s a little problem for me : the meta og:image takes the featured image, but resize it to a smaller size which is too small for facebook : 300×140 (here is the open graph warning : “Provided og:image is not big enough. Please use an image that’s at least 200×200 px”).

    The original image’s dimensions are 630×295.

    http://wordpress.org/extend/plugins/wp-facebook-open-graph-protocol/

Viewing 2 replies - 1 through 2 (of 2 total)
  • chomo

    (@chomo)

    Everything is okay when I edit line 156 of the file ‘wp-facebook-ogp.php’ from :

    $thumbnail_src = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'medium' );

    to :

    $thumbnail_src = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'large' );

    The large image is ok, and Facebook re-size it automatically

    Plugin Author Chuck Reynolds

    (@ryno267)

    Fixed in the beta referenced in the pinned topic in the forum. needs more testing but feel free to help test.

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