Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Change avatar image crop does not work

@mugwumpman

Participant

You can add the following code to your theme’s functions.php and change the crop size (FULL_WIDTH & FULL_HEIGHT, here set to 1920 x 1111) and also the thumbnail sizes to whatever you like, along with specifying maximum limits on the images uploaded.

// Resizes avatars
define ( 'BP_AVATAR_THUMB_WIDTH', 50 );
define ( 'BP_AVATAR_THUMB_HEIGHT', 50 );
define ( 'BP_AVATAR_FULL_WIDTH', 1920 );
define ( 'BP_AVATAR_FULL_HEIGHT', 1111 );
define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 2000 );
define ( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE', 819200 );
Skip to toolbar