Skip to:

Avatars VERY low Quality

  • Profile photo of Morgue89


    I am using echo get_avatar( get_the_author_id(), ‘100’ )’ to display a small avatar on non-buddypress areas of my site. But they are coming out VERY low quality. I think this is calling out the tiny version of the avatar and blowing it up.

    What part of the code do I need to change to get the regular avatar? Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Profile photo of Paul Gibbs
    Paul Gibbs


    If you look at the URL in the output, does it display better when you load it directly in a web browser? Can you share the URL?

    Profile photo of Morgue89


    Hi @djpaul ! Here is the url I am getting:

    it Needs to be:

    I need bpfull instead of bpthumb. I have tried every combination I can think of with ‘type=full’ ‘size=full’ ‘full’ etc but no luck. If you have any idea I’d really appreciate it, my site goes live tomorrow and I’d like to have the avatars looking nice.


    Profile photo of Morgue89


    As a temporary fix I changed the avatars defualt in bp-core-avatars.php from ‘thumb’ to ‘full’. This works for now but I feel it may slow down my site in the future. If anyone has the full solution let me know!

    Profile photo of Maruti Mohanty
    Maruti Mohanty


    I have faced the same issue and as above didnt want to edit the core files. I looked through and did it with js.. It worked for me
    I am putting it below for all who has been looking for a solution and if you have a better solution please update that too
    // Replacing the -bpthumb with -bpfull for higher resolution images.
    var source = jQuery(this).attr(‘src’);
    var startIndex = source.lastIndexOf(‘-‘);
    var endIndex = source.lastIndexOf(‘.’);
    var removeValue = source.substring(startIndex, endIndex);
    if(‘-bpthumb’ == removeValue){
    var newSource = source.replace(removeValue, ‘-bpfull’);
    jQuery(this).attr(‘src’, newSource);

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Avatars VERY low Quality’ is closed to new replies.
Skip to toolbar