The BuddyPress WordPress plugin is not very well integrated with the core WordPress functions. For example, BuddyPress does not use custom post types, nor does it store images in the WordPress Media Library. Both of these integration issues lead to some serious limitations that take some effort to overcome.
BuddyPress Avatar and Group Images
By default, member avatars are provided by Gravatar. The NGFB Open Graph+ plugin recognizes Gravatar URLs and can include images of the correct dimensions in the webpage meta tags. If a member changes their default avatar image, or an avatar image is assigned for a group, BuddyPress will save those images with a dimension of 150x150px. This is much too small for Facebook or any other social website to use when a member or group webpage is shared. To include the custom BuddyPress member and group images in the webpage meta tags, you must adjust the BuddyPress full size image dimensions. Add the following to your wp-config.php, and increase the default
BP_AVATAR_FULL_HEIGHT from 150 to 200 or more (larger is better). The thumbnail sizes can remain the same – I’ve included them here, with their default value, for informational purposes only.
if ( ! defined( 'BP_AVATAR_THUMB_WIDTH' ) )
define( 'BP_AVATAR_THUMB_WIDTH', 50 );
if ( ! defined( 'BP_AVATAR_THUMB_HEIGHT' ) )
define( 'BP_AVATAR_THUMB_HEIGHT', 50 );
if ( ! defined( 'BP_AVATAR_FULL_WIDTH' ) )
define( 'BP_AVATAR_FULL_WIDTH', 150 );
if ( ! defined( 'BP_AVATAR_FULL_HEIGHT' ) )
define( 'BP_AVATAR_FULL_HEIGHT', 150 );
BP_AVATAR_FULL_HEIGHT values you’ve chosen are smaller than the Image Dimensions values in the Open Graph+ General settings, you will also need to uncheck the Ignore Small Images option on the Advanced settings page.
You could also specify much larger BuddyPress full width and height values, and downsize them on the BuddyPress pages using CSS. The upside is that your member and group images will be featured more prominently on social websites (Facebook prefers images larger than 600×315, for example), but at the expense of larger avatar images being transferred and downsized by the browsers on member and group webpages.