Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Using BuddyPress profile image

@shanebp

Moderator

Your request is more properly asked of the plugin creator.
You could try this:
Open birds-author-box\public\frontend.php and replace this:

           if (get_the_author_meta('image', get_query_var('author')))
            {
                $content.= '<img class="birds_box_avatar" src="' . get_the_author_meta('image', get_query_var('author')) . '">';
            }
            else
            {
                $blank = plugin_dir_url(__FILE__) . 'img/blank.png';
                $content.= '<img class="birds_box_avatar" src="' . $blank . '">';
            }

with this:

$avatar_args = array( 
   'item_id' =>  get_the_author_meta('ID', get_query_var('author')),
   'type' => 'thumb',
   'html' => false
);

$content.= '<img class="birds_box_avatar" src="' . bp_core_fetch_avatar( $avatar_args ) . '">';
Skip to toolbar