Skip to:
Content
Pages
Categories
Search
Top
Bottom

Avatar sizes in 1.7

  • Avatar of sixtyfour
    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)
  • Avatar of Tammie
    Tammie
    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′)`

    Avatar of sixtyfour
    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?

    Avatar of meg@info
    meg@info
    Participant

    @megainfo

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

You must be logged in to reply to this topic.