Avatar resize not working
-
Hi, Our avatar/profile image default sizes were changed through bp-custom.php and thus give a 56:80 ratio crop when uploading new avatars. However, recently it’s reverted back to only allowing you a square crop. It was roughly around the same time we upgraded to Buddypress 2.1, has the avatar coding changed radically to make the below code out of date?
http://independenthostels.co.uk/test/
// Resizes avatars define ( 'BP_AVATAR_THUMB_WIDTH', 86 ); 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 ); // Changes default avatar define ( 'BP_AVATAR_DEFAULT', 'http://independenthostels.dev/wp-content/themes/ihg2014/images/avatar.jpg' ); define ( 'BP_AVATAR_DEFAULT_THUMB', 'http://independenthostels.dev/wp-content/themes/ihg2014/images/avatar_thumb.jpg' );
Many thanks, mugwumpman
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Avatar resize not working’ is closed to new replies.