Min menu

Pages

Hot

How to Change Default Avatar in Blogger Comments

In this tutorial we will learn how to change or customize the avatar anonymous commentators, This enables us to add an image in blog comments instead the name of unknown without a picture.

How to Change Default Avatar in Blogger Comments
1. Go to Blogger Dashboard > Template
2. Download a copy of your template
3. Now click on Edit HTML
4. Use Ctrl + F to find </body> and paste the following code above/before 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;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5qJXpZVub394FhYRnNn4EsfDdhvI111INbwgx_c239-ScKsMGjfG2aiBezTZFrtRg1Y8gWJ_GUkxF6F3mFfMam1-wbIYrgW4KaB8PatoH4zzJUeSKftkX3eRnpsHFIAkXggjtBIDPDJA/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;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM9EHus_lmxkZPTUlBkJ_6E5sgiWplKaFIN8tS2uGcrzK160TQz2LBUWjOwqFMN5l2qZi6zFMT8VF7AXY6v9oY6LZpnEOxN9OqJUSQIec_ZAVWvyJVyqq9ICUbTmCp3XdJKeg3xIFxPoc/s1600/blogger-user.png&#39;)
.ssyby(&#39;blank&#39;)
</script>
5. Save template.
Note:
For Anonymous users: Replace the code in green 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):


1- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjitdd4mofI79S8cby-iC1uVEiLEnoSduNSRovS09uJfimoSsgD90jIvFb8JdxLlzpy33JxRaBL7jhaqO_c7iXKkS7DzYdL-M3GibY0Tqfr_K2vs6k557wLsN38RQbYxoaMGA2TqKWysEo/s256/blogger-icon.png





5- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgth7Ih5gROMaF0K6Fv76lUDPD01rBkrcW5W6uNBaqCCt59cp6B2199yFdn7-SRvShyQZDNKO-h3ggnIcUPG6baQ0LiFGTtQ_NeXh8zYhpZH3GVoJWdi26N2WdCVwoXzF8OXxvo35mfyfM/s138/facebook.gif

I hope you enjoy and happy blogging. ;)
reaction:

Comments