Check out the Customizing BuddyPress Avatars article. You’ll see that avatar sizes can be set using constants:
define( 'BP_AVATAR_FULL_WIDTH', 250 );
define( 'BP_AVATAR_FULL_HEIGHT', 250 );
Hi Henry, that one is to increase the picture size right? How about the make cropping radius size? How can i make it?
The cropper fits automatically to the defined width and height.
The idea behind these functionality is to adjust an image, not the cropper.
If you fix 20 px, the tool will crop to 20. If you fix 600p, the tool will crop to 600.
Also, the BP cropper is only used for profile, group and blog photo. Avatar default size is 50px, rarely over 150.
Hi, can you let me know the file name that can change profile size and the crop size because i could found the file in my file manager.
Please, read henry’s answer and follow the given doc.
define’s goes to bp-custom.php This file doesn’t exist by default, you have to add it manually via FTP to wp-contet/plugins/
Hi,
That mean i need to add this “bp-custom.php” file into my file manager? How about the contain in this file?
Thank You
Hi Guys,
Why i cannot find this line : “#avatar-crop-pane { border-radius: 50%; }” in buddypress core folder?
Thank You
Searching for code needs a correct search tool. Use Notepad++ and you’ll find 48 occurence to avatar-crop-pane
!
The first of them is in buddypress/bp-core/bp-core-cssjs.php
Another one is in buddypress\bp-core\css\avatar.css
But you haven’t to hack core files. All you have to do is to create a child theme from where you can adjust CSS to your need.
Codex is your friend ! If you accept to read…
Hi,
Ok. I try to use notepad++ and find out the code.
By the way, i want to know if other user got to register an buddypress account then it show”forbidden. Please enable Javascript”. What is the problem?
Thank You
Hi,
For the cropping i still cannot do it, even i follow the buddypress codex. I still would no found the way to increase the cropping size.
Thank You
Why can’t you do that ?
Copy/paste this to bp-custom.php and adjust the size to your need (250 to whatever)
define( 'BP_AVATAR_FULL_WIDTH', 250 );
define( 'BP_AVATAR_FULL_HEIGHT', 250 );
And use FTP to upload bp-custom
Hi,
For your information, I no a professional web developer or web design, I still fresh and still learning. Because this buddypress is quite new for me. So, I need someone can teach me step by step. For the bp-custom.php, i need to create for it? because i would no found it
Thank You
Please, read the codex page about bp-custom. It’s explained how to create and use it.
And sorry, but we are not teachers, just users trying to help.