• Anyone have an idea why different avatars would be called for two different comments I left from the same account at my site? You can see the discrepancy from this comment to this comment.

    A selection of code from each follows …

    The first:

    <li class="comment byuser comment-author-joshua-michael bypostauthor even thread-even depth-1" id="li-comment-2648">
      <div id="comment-2648" class="comment">
        <img alt='' src='http://i2.wp.com/s2.wp.com/wp-content/mu-plugins/highlander-comments/images/wplogo.png?resize=150%2C150' class='avatar avatar-150 photo' height='150' width='150' />

    The second:

    <li class="comment byuser comment-author-joshua-michael bypostauthor odd alt depth-2" id="li-comment-2647">
      <div id="comment-2647" class="comment">
        <img alt='' src='http://0.gravatar.com/avatar/2e9bd37c3f3719158ea4c5a8a252a77c?s=150&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D150&r=G' class='avatar avatar-150 photo' height='150' width='150' />

Viewing 5 replies - 1 through 5 (of 5 total)
  • Pure guess, but could it be because they’re being requested at two different sizes?
    150×150 versus 160×160
    Maybe Gravatar serves different assets depending on the requested size.

    Thread Starter uamv

    (@uamv)

    The avatar for the author bio is requested at 160, but both of the comment author avatars are requested at 150.

    I wonder if the theme is requesting the avatar at 150?

    Could be a caching issue as well.

    Thread Starter uamv

    (@uamv)

    Any other thoughts on this? Encountering the same issue on a single post, as well (see http://vandercar.net/unproductivity/#comment-2647).

    the class="avatar avatar-150 photo" appears to be a theme-specific issue.

    even given this bit in style.css:

    .comment .avatar {
    	max-width: 80px;
    	height: auto;
    	border-radius: 999px;
    	position: absolute;
    	top: 0;
    	left: 0;
    }

    the `img.avatar.avatar-150.photo
    height: 150px;
    width: 150px;`

    remains the same. since it’s resized to 80px, is this making that big of a difference?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Avatar Inconsistency’ is closed to new replies.