Add Recent Comments Widget with Avatars To Blogger

A while ago I published here on the blog posts that teach one how to show recent comments, plus today I found this new script created by Way2blogging recent comments, he has the distinction of showing the avatar / photo, in every recent comment, which only could be seen before in our competitor WordPress. Learn now how to insert this script on your blog.

1 - Access (

2 - Click on the name of your blog

3 - Go to Layout-> Add Gadget> HTML / JavaScript

4 - Insert Gadget content like the following code:

<div id="recent-comments-box">
<style type="text/css">
    .w2b_recent_comments li{background:none !important;margin:0 0 6px !important;padding:0 0 6px 0 !important;display:block;clear:both;overflow:hidden;list-style:none;}
    .w2b_recent_comments li .avatarImage{padding:3px;background:#fefefe;-webkit-box-shadow:0 1px 1px #ccc;-moz-box-shadow:0 1px 1px #ccc;box-shadow:0 1px 1px #ccc;float:left;margin:0 6px 0 0;position:relative;overflow:hidden;}
    .w2b_recent_comments li img{padding:0px;position:relative;overflow:hidden;display:block;}   
    .w2b_recent_comments li span{margin-top:4px;color: #666;display: block;font-size: 12px;font-style: italic;line-height: 1.4;}
<script type="text/javascript">
    // Recent Comments Settings
    numComments     = 4,
    showAvatar     = true,
    avatarSize     = 60,
    roundAvatar    = true,
    characters     = 40,
    defaultAvatar     = "",
    hideCredits    = true;
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>

  •      The number in orange is the amount of comments that will be displayed.
  •      Blue change to false if you do not want the avatars appear true or so they appear.
  •      Change the number in green to set the size of the avatars.
  •      Red change to false if you do not want the frames are shaped circle.
  •      Change the number in purple to set the amount of characters displayed snippet comment.
  •      Brown is the address of the default image if the commentator has no avatar.
  •      In pink change to false if you want to show credit of authorship.
  •      Change the words in black by the address of your blog.
5 - Save changes and view.