Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to display avatars in normal theme at 125px?


Sven Lehnert
Participant

@svenl77

In the moment, I do what Andy has offered above.

Members:

<?php echo bp_core_fetch_avatar(
'item_id=' . get_the_author_id() . '&type=full&width=100&height=100' ) ?>

Groups:

<?php echo bp_core_fetch_avatar( 'item_id=' . bp_get_the_site_group_id()
. '&object=group&type=full&width=100&height=100' ) ?>

Just I think this is the same as doing it in the css.

I like to know how to change the original size at the moment when its created.

But I don’t want to define these with custom values in wp-config.php.

I’m looking for a solution to have control of the Avatar size in custom components.

for example: In the bp-events Plugin, I would like to change the Avatar format to a Flyer format.

Most of the Event Flyer, people want to upload, do not feed the Avatar size from Buddypress.

So they just get a cuted piece of there flayer.

I relay would like to change this.

Skip to toolbar