Why not have our profile pictures display next to our name in comments on the side:

Lorem ipsum etc. etc. - haykam Example in comment on right

Or on the other side:

Lorem ipsum etc. etc. - Example in comment on left haykam

  • You can compare this to the image and it is just the right size. – haykam Jun 8 '16 at 18:44
  • 1
    The weakness of this feature request is, you haven't mentioned any of advantages of having this implemented. The only thing I can think of this is to disambiguate same usernames, but other than that... nothing. – Meta Andrew T. Jun 8 '16 at 22:51

While I personally don't want to have this, I found it an intriguing challenge.

So whenever you want to see the avatars in comments, open your browser's console and paste this:

var Position = {"Left": 1, "Right": 2};
var _size = 16;
var _margin = 5;
var _pos = Position.Left;
$(".comment").each(function() {
    var commentObj = $(this);
    var commentUser = commentObj.find(".comment-user");
    var userLink = commentUser.attr("href");
    if (userLink && userLink.length > 0) {
        userLink += "?tab=profile";
        var avatar = $("<span></span>");
        if (_pos == Position.Left) {
            avatar.css("margin-right", _margin + "px");
    } else {
            avatar.css("margin-left", _margin + "px");
        avatar.load(userLink + " .avatar img", function() {
            avatar.find("img").css({"width": _size + "px", "height": _size + "px"});

You can customize it a bit:

  • Change _size to have the avatars appear in a different size.
  • Change _pos to change where the avatar appears, e.g. changing to Position.Right will make the avatars appear to the right of the comment author name.
  • Change _margin to change the margin between the avatar and user name.

I'm not familiar with browser extensions/plugins, but surely it can also become one to have it apply automatically whenever you visit a post.

| improve this answer | |
  • Two things about this: there is no space between the username and icon, and it doesn't appear for the question asker. – haykam Jun 9 '16 at 15:59
  • @Peanut first one fixed, see edit. Second one is no repro: i.stack.imgur.com/oGGsG.png (I see question asker avatar fine) – Shadow Wizard Wearing Mask Jun 9 '16 at 17:58
  • Well, doesn't appear for me. – haykam Jun 9 '16 at 18:00
  • I've also uploaded it to GitHub: github.com/IAP-Reloaded/Stack-Comment-Icons/tree/master – haykam Jun 9 '16 at 18:04
  • @Peanut cheers! You were right, there was a bug indeed. Forgot that when viewing own profile, the default tab is Activity, which does not contain the big avatar. Forced the link to point to the Profile tab, should be working fine now. – Shadow Wizard Wearing Mask Jun 9 '16 at 18:55

How does it look without pics? Cleaner.

I'd rather not see it.

The first reason I can think of is, it's quite distracting to have a long comments thread with many small images. Unlike the longer answers - you can't see so many avatars on the page. It's uncomfortable to read that.

The other reason is, these avatars would be ridiculously small (because the s=16 does actually downsize the image, not collapse), probably even smaller than you suggested, because otherwise they won't fit.

And it does certainly eat bandwidth, especially if "there still is the 128*128 icon option and we could collapse that".

| improve this answer | |
  • Of course, you could just disable it. And I think the images could be seen. – haykam Jun 8 '16 at 18:48
  • @Pea Well, let's simulate that situation ;) maybe I'm exaggerating it. – nicael Jun 8 '16 at 18:49
  • I've updated the question with proof it can fit. – haykam Jun 8 '16 at 18:52
  • Remember, there still is the 128*128 icon option and we could collapse that. – haykam Jun 8 '16 at 18:54
  • There could be an option where you could choose if you would like no icons, 16*16 collapsed, 64*64 collapsed, 128*128 collapsed, etc. – haykam Jun 8 '16 at 18:56
  • How did you get icons there? – haykam Jun 8 '16 at 22:32
  • @Pea just used the element inspector on the page and manually inserted pics :) – nicael Jun 8 '16 at 22:33
  • @nicael manually inserted pics?? Next time use a script... – Shadow Wizard Wearing Mask Jun 9 '16 at 12:32
  • @Sha That was something to be done in five minutes, I didn't want to challenge myself with a script for unclear purpose. – nicael Jun 9 '16 at 12:33
  • @nicael well, I did. ;-) – Shadow Wizard Wearing Mask Jun 9 '16 at 12:40
  • @Sha I've noticed, you have my upvote. – nicael Jun 9 '16 at 12:40
  • @Sha waaa, checkmark hijacker :D – nicael Jun 9 '16 at 15:57
  • You should really put in people's full usernames. – haykam Jun 9 '16 at 15:58
  • @Peanut not really. First three letters are enough to ping, is easier to write and give a more personal touch to the comment. (in your case the first three letters sounds like... well, you know, so better not use it, but talking about the general case. :)) – Shadow Wizard Wearing Mask Jun 10 '16 at 6:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .