Support » Fixing WordPress » No Gravatars Seem to show up

  • Well, this isn’t a biggie, but it’s been bugging me a bit. I’ll post it up in case anyone has a suggestion.

    Whenever anyone leaves me a comment, I just get a red x wart instead of a gravatar.

    On both the commentd end, and in the recent comments dashboard widget.

    here’s an example img src link to a gravatr

    I have no idea how they should look, does that look properly formed….?

    Now that I look at it, it seems something has gone wrong with code I use to drop in a default gravatar of my own if the user doesn’t have one….

    if ( !function_exists('fb_addgravatar') ) {
        function fb_addgravatar( $avatar_defaults ) {
        $myavatar = get_bloginfo('template_directory').'/images/voodooEmpire.png';
        //default avatar
        $avatar_defaults[$myavatar] = 'The Voodoo Empire';
        return $avatar_defaults;
     add_filter( 'avatar_defaults', 'fb_addgravatar' );

    anybody see a conflict that would cause issues? I’ve been using that code for quite some time, I think maybe the problem started with WP3.0?

    EDIT-Well, I don’t think it’s that code, when I switch to default theme the problem persists. Even with plugins deactivated. It looks like if I swap to generated gravatars, my gravatr shows up, but nobody else’s does. Not even the generated ones…. the link looks like this

    So I have no idea

  • The topic ‘No Gravatars Seem to show up’ is closed to new replies.