Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change avatar image crop does not work


  • maverhick80
    Participant

    @maverhick80

    In my theme does not work the choice of crop image. Can I just cut out the proposal without having a choice. I am using buddypress 1.9.2 with wordpress 3.8.1

    ps: sorry for my english

Viewing 1 replies (of 1 total)

  • Matt
    Participant

    @mugwumpman

    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 );
Viewing 1 replies (of 1 total)
  • The topic ‘Change avatar image crop does not work’ is closed to new replies.
Skip to toolbar