28 How to Change Default Anonymous Avatar in Blogger Comments

In the last tutorial, I wrote about how you can change avatars size in blogger comments and in this simple tutorial, I will show you how to change or customize default avatar of anonymous commenters or Blogger users with no picture added on their profiles. After Blogger announced new feature of threaded comment, we can still customize it by adding a jQuery plugin to our template and replacing the default anonymous avatar found at this

URL http://img1.blogblog.com/img/anon36.png
and the one for blogger users http://img2.blogblog.com/img/b36-rounded.png

...with our own.

anonymous, default avatar, blogger blogspot

Step 1.

Go to Dashboard - Template - click on the Edit HTML button and then Proceed



...then select Expand Widget Template (don't forget to make a backup)

Step 2. Find (CTRL + F) this code in your template:

</body>

Step 3. Add the following code just above it:

<script src='http://code.jquery.com/jquery-latest.js'/>
<script>
$(&quot;img[src=&#39;http://img1.blogblog.com/img/anon36.png&#39;]&quot;)
.attr(&#39;src&#39;, &#39;http://1.bp.blogspot.com/-Zphr2YJH_6w/T6ZZE4YeNBI/AAAAAAAACF0/Tyuj8hkOpdc/s1600/default_avatar.gif&#39;)
.ssyby(&#39;blank&#39;)
</script>
<script src='http://code.jquery.com/jquery-latest.js'/>
<script>
$(&quot;img[src=&#39;http://img2.blogblog.com/img/b36-rounded.png&#39;]&quot;)
.attr(&#39;src&#39;, &#39;http://1.bp.blogspot.com/-eKbzORzVaBQ/T6ZXHmdgHqI/AAAAAAAACFs/rVy3T4gxojM/s1600/blogger-user.png&#39;)
.ssyby(&#39;blank&#39;)
</script>

Step 4. Save the Template

How to change avatar:

For Anonymous users: Replace the code in red with the url address of your image
For Blogger users: Replace the URL in blue with your own.

You can choose one from these below (copy the url address):


http://1.bp.blogspot.com/-Zphr2YJH_6w/T6ZZE4YeNBI/AAAAAAAACF0/Tyuj8hkOpdc/s200/default_avatar.gif


http://3.bp.blogspot.com/-p4JvM7rWNG4/T6ZcU5eKqTI/AAAAAAAACGM/K0DB35A5brE/s1600/facebook.gif


http://2.bp.blogspot.com/-5nGzg5T-9qA/T6ZbL9JF0iI/AAAAAAAACF8/TvTnURwsNb0/s1600/anonymous3.png



http://3.bp.blogspot.com/-oivPlkvBNBY/T6ZoNQhfAII/AAAAAAAACGY/3gem5DBmmQ8/s1600/blogger-user.png


That's it!
If you liked this post, please consider sharing it.

28 comments:

  1. Anonymous6/07/2012

    thanks

    ReplyDelete
  2. Hi,
    Interesting article for add your own avatar on blogger. I like it.

    Please, comment on my blog!!!!
    http://sunilseoservices.blogspot.in/

    ReplyDelete
  3. Hi,
    Niche post, I like your interesting post!!!!

    http://sunilseoservices.blogspot.in/

    ReplyDelete
  4. Anonymous6/11/2012

    THANK YOU!!! :D

    ReplyDelete
  5. You're welcome :)

    ReplyDelete
  6. Nice trick,thank you.

    ReplyDelete
  7. this is so nice and great thanks for this site owner

    ReplyDelete
    Replies
    1. You're all welcome, thanks for visiting!

      Delete
  8. FINALLY a way it works! I have been trying the whole day with LOTS of different tutorials, none of them worked! I.LOVE.YOU.

    ReplyDelete
  9. but how do i set the comments so when an user gets to show their own picture from blogger? :( mine as well. it only shows as that ugly orange B

    ReplyDelete
  10. Thanks for the tutorial.

    how can i change default blog owner display name in comments like yours?
    Your are displaying 'Admin' instead of original blogger account name.
    waiting for your reply

    ReplyDelete
  11. Thanks for the post and the HTML code.

    ReplyDelete
  12. Thank you, this helped me!
    Great articles here...

    ReplyDelete
  13. That's So interesting article, keep it up.

    ReplyDelete
  14. That's a nice tip, but creates an error with the banner slider of my blog. :(

    ReplyDelete
  15. Greaet Post, Thank you for sharing

    ReplyDelete
  16. thanks! this is useful. I've changed the avatar of my comment form.

    ReplyDelete
  17. Thank you, the tutorial is really easy and works perfectly :)

    Spark&Bark

    xx

    ReplyDelete
  18. HI, i discovered your blog, very good, BTW, and tried this tuts, but i can't seem to get it work. I pasted the code, and replaced the 2 URL's, twice..and with your own avatar's here, but it just wont work . can you take a pic? http://oeirascomhistoria.blogspot.pt/

    thx for your time

    cheers
    Acordeiro

    ReplyDelete
    Replies
    1. I'm having the same problem. Copy/Pasted your links and URL's and isn't working. Hmmm, wondering if it only applies to future comments rather than previous?

      Great tutorials BTW - finding your site VERY helpful.

      Delete
  19. Worked like a charm! Thanks, man!

    ReplyDelete
  20. How to delete of Avatar image, because some ppl upload nude image as avatar, i want to delete them

    ReplyDelete