Using BuddyPress Avatars with wp_list_comments()
I’m using BP 1.5.5 and the current version of WordPress.
I’ve been integrating my existing theme with BuddyPress, but I’m having trouble with user avatars constistently working across the site.
I use the built-in wp_list_comments() function to list out my comments like this in comments.php:
Which results in a list of nested comments using a buddypress avatar if available, otherwise the gravatar.
If you look at the comments section of this page ( http://craftcore.ca/2012-04-26-corny-sample-post/#comment-6 ), you’ll see that the first user who has a buddypress avatar is being upscaled from 50px to 75px for some reason, resulting in bad image quality. The second commenter has no buddypress avatar and the image is being pulled from gravatar.
Any advice on making the buddy press avatar work properly? I’m not fussy on the size, as long as the quality is nice. I tried , but I don’t know how to make it work with wp_list_comments()…
- The topic ‘Using BuddyPress Avatars with wp_list_comments()’ is closed to new replies.