@adambundy
12 years, 6 months ago
I found a solution for this. Hope it helps someone. Note that I am fetching the value of $user_id earlier in my loop.
`if ( function_exists(‘bp_core_fetch_avatar’) ) { echo apply_filters( ‘bp_post_author_avatar’, bp_core_fetch_avatar( array( ‘item_id’ => $user_id, ‘type’ => ‘full’, ‘width’ => 120, ‘height’ => 120 ) ) ); } else if ( function_exists(‘get_avatar’) ) { get_avatar( $user_id, $size = ‘120’); }`
Im looking for this solution as well- basically how to echo the avatar URL ending with ‘-bpfull.jpg’ rather than ‘-bpthumb.jpg’. Anyone know how to accomplish this? thanks!