Sunday, March 24, 2013

How to Change Default Anonymous Avatar in Blogger Comments

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.

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




http://4.bp.blogspot.com/-dmYyFEad9ak/T9riPTHY6NI/AAAAAAAABHY/NN5T-ZJ4t2k/s1600/btrix1.png






http://www.voice-online.co.uk/sites/default/files/pictures/dummy_avatar.png





http://4.bp.blogspot.com/-iBXUzhuD6Cs/UNb7GMJmGcI/AAAAAAAAAFM/2ei1xsjCWy4/s1600/utpak-avater.png




http://4.bp.blogspot.com/-YXqDPLzUBOk/T2cTb8Oru8I/AAAAAAAABoY/jBiDzNtxalU/s1600/blogger2.jpg





http://1.bp.blogspot.com/-kR2Y_oJ6aSg/T2cUI61bGhI/AAAAAAAABoo/L3CbI2ONU4c/s1600/anon6.png






http://3.bp.blogspot.com/-zooNSeneo0Y/T2cXjizVMVI/AAAAAAAABow/u27OI-WsIUU/s1600/anon7.jpg





http://2.bp.blogspot.com/-3yhvpRp973o/T9riZzwH2CI/AAAAAAAABHg/SGPBZ0-LE5A/s1600/btrix2.png




http://2.bp.blogspot.com/-GCxWl4q-aIs/T9rixHJkPFI/AAAAAAAABH4/DD7Ht_kWvjY/s1600/btrix3.png



http://4.bp.blogspot.com/-7BoVOrUOLZ4/Tbt5s8PlH7I/AAAAAAAAANw/9bAw8qGXYZ8/s1600/avatar.png





 http://onenaijablog.com/wp-content/uploads/2013/02/blogger-avater.jpg?2e03a4






http://2.bp.blogspot.com/-TBn8mQlEvjE/T7oOdRBTtaI/AAAAAAAAAI4/BF9DuGGyB-g/h120/anon.jpg



 


0 comments:

Post a Comment

Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.

Note:
1. To add HTML CODE in comments then please use our Instant HTML Encoder
2. You can always Test the tutorial on our HTML Editor
3. Please do not spam Spam comments will be deleted immediately upon our review.
4.Click Subscribe by Email to receive Replies