Thumbnail image is too small to post to Facebook feed
-
While installing this plugin I was getting the og:image error message that my thumbnail images were too small to post to FB – must be at least 200 x 200. To fix this, in /plugins/facebook/open-graph-protocol.php I edited line 621 from
list( $post_thumbnail_url, $post_thumbnail_width, $post_thumbnail_height ) = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );
to
list( $post_thumbnail_url, $post_thumbnail_width, $post_thumbnail_height ) = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'large' );
and that seems to be working. Hope this helps someone.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Thumbnail image is too small to post to Facebook feed’ is closed to new replies.