Skip to:
Content
Pages
Categories
Search
Top
Bottom

How can I change the Cropping size in profile page?

  • @alexlim91

    Participant

    Hi guys,

    Anyone can help me. I want to change the cropping size in profile page, so I can make the size of picture become more bigger.

    By the way, I also want to know how can i change the “site wide activity” name? Because i plan to change other name.

    Thank You

Viewing 14 replies - 1 through 14 (of 14 total)
  • @henrywright

    Moderator

    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 );

    @alexlim91

    Participant

    Hi Henry, that one is to increase the picture size right? How about the make cropping radius size? How can i make it?

    @danbp

    Participant

    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.

    @alexlim91

    Participant

    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.

    @danbp

    Participant

    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/

    @alexlim91

    Participant

    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

    @alexlim91

    Participant

    Hi Guys,

    Why i cannot find this line : “#avatar-crop-pane { border-radius: 50%; }” in buddypress core folder?

    Thank You

    @danbp

    Participant

    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…

    @alexlim91

    Participant

    Hi,

    Ok. I try to use notepad++ and find out the code.

    @alexlim91

    Participant

    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

    @alexlim91

    Participant

    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

    @danbp

    Participant

    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

    @alexlim91

    Participant

    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

    @danbp

    Participant

    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.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘How can I change the Cropping size in profile page?’ is closed to new replies.
Skip to toolbar