Skip to:
Content
Pages
Categories
Search
Top
Bottom

Avatar sizes in 1.7


  • sixtyfour
    Participant

    @sixtyfour

    Hey guys

    I’ve been fishing around everywhere and I’m at a loss, I want to make the avatars for the groups widget 100px, can this be done?

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)

  • Tammie Lister
    Moderator

    @karmatosed

    You can use bp-custom.php and change the default sizes there:

    `define ( ‘BP_AVATAR_THUMB_WIDTH’, 100 );
    define ( ‘BP_AVATAR_THUMB_HEIGHT’, 100 );
    define ( ‘BP_AVATAR_FULL_WIDTH’, 150 );
    define ( ‘BP_AVATAR_FULL_HEIGHT’, 150 );`

    This would do global changes though. Should you only want them to be in certain places you can edit templates for this.

    For instance:
    `bp_group_avatar(‘type=full&width=100&height=100′)`


    sixtyfour
    Participant

    @sixtyfour

    I did try that code and it didn’t work, I’ll try again.

    Btw, the bp-custom.php, where should this be placed?


    meg@info
    Participant

    @megainfo

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Avatar sizes in 1.7’ is closed to new replies.
Skip to toolbar