Visit here for full demo of this widget.
To add avtar follow these simple steps-
1. Go to Blogger > Settings >Comments and enable “Show profile images on comment”. If you are using third party template then you have to add some html codes.
2. Go to Blogger Layout >Edit HTML and backup your template. Expand the widget templates and look for following code present or not
'data:post.avatarIndentClass'
If it is not present then look for
<dl id='comments-block'>
And replace above code with following one
<dl expr:class='data:post.avatarIndentClass' id='comments-block'>
3. Now look for
<a expr:name='data:comment.anchorName'/>
It may present more than 1/2 times. So replace each of it with
<b:if cond='data:comment.favicon'>
<img expr:src='data:comment.favicon' height='16px' style='margin-bottom:-2px;' width='16px'/>
</b:if>
<a expr:name='data:comment.anchorName'/>
<b:if cond='data:blog.enabledCommentProfileImages'>
<div expr:class='data:comment.avatarContainerClass'>
<data:comment.authorAvatarImage/>
</div>
</b:if>
4. For Anonymous users with no profile pictures you can set a picture. Look for code
]]></b:skin>
And add following code just ABOVE of the above code.
.avatar-image-container{width:50px;height:50px;margin-top:-5px;}
.avatar-image-container img {background:url(http://4.bp.blogspot.com/_tbHfaj1A058/SrzTu7NmpGI/AAAAAAAAHhQ/iw9fuRMO_aU/s1600/anon.png);width:50px;height:50px;}
Or you can use different code for following picture

.avatar-image-container{width:50px;height:50px;margin-top:-5px;}
.avatar-image-container img {background:url(http://3.bp.blogspot.com/_u4gySN2ZgqE/SrSUS1YpxwI/AAAAAAAAAv4/DihiWlWRxQs/s400/grav.png);width:50px;height:50px;}
If you want bigger avtar pictures then add following code instead of above
.avatar-image-container{width:50px;height:50px;margin-top:-5px;}
.avatar-image-container img {background:url(http://4.bp.blogspot.com/_tbHfaj1A058/SrzTu7NmpGI/AAAAAAAAHhQ/iw9fuRMO_aU/s1600-h/anon.png);width:50px;height:50px;}
Here you can also set height and width of avatar.
Happy Blogging.




29 comments:
wow thanks. works for me ^_^
Gr8 Work ....Thanks
well...it's only worked on my own avatar but the other dun hv any image display...=.=
wat's the problem???
http://www.gm-zone.co.cc/
Comments by Anonymous users do not show pictures. To make them visible follow step 4.
i've tried it before. the icon doesn't show!! =.=
thx for visiting. as you can c. it's jz show our avatar. but the anonymous doesn't hv.
can you find following url in your template
http://img1.blogblog.com/img/blank.gif
i can't found it. is it any problem with that?
yes. It is the image location that displayed for anonymous comments in your blog. Try expand widget template and find if it is there?
I expanded the widget still can't find it. then,how to fix it?
upload your template to rapidshare or other site then give link here. I will try it.
Here's my template link:
http://www.mediafire.com/?zmmmjem0g5t
Thanks for helping me!
I modified code for anno comments and also added new code for it. try them one by one.
can u send me the template that u hv mod?
i tried with your template but it not worked. I need original template. Can you tell me from where you downloaded it?
here is the original template link.
http://www.mediafire.com/file/5otzycjdfl5/Zixpk Blue Template.rar
you template is customized one and this feature only works with standard templates.
any better solution if i wan to put the avatar?
Currently only one - try a different template. First test it for this feature and then you can use it for your blog.
....
nvm. i will try it. anyway thanks for your help. :)
let me see. If it works I'll continue it.
Thank you.
Thanks admin. I am using your tips. Its very nice tutorial. Could u tell me how to add custom domain?
http://saimoom.blogspot.com/
http://shinemark.blogspot.com/
Hi Saimoom
Read
1. At last added a Custom Domain from GoDaddy.com to Blogger!!!
2. http://www.google.com/support/blogger/bin/answer.py?hl=en&answer=55373
Hi!
My blog is http://yoyepunto.blogspot.com and I can't find any ANCHOR in my template. What can I do? Thanks in advance!
@ Nacho
Did you followed all the steps and clicked on Expand the widget templates
hallo, my avatar, (author avatar) not showed . . please help me. . . :(
# puluth®
Please follow the all steps and the codes carefully.
hello .. please am using mobipress theme ... i tried every thing and get nothing .... plz if you can download the theme and reply me how to add it .... i will be very thankful for you
http://fractalblognetwork.com/templates/mobipress_phone_blogger_%20template.zip
Download Mobipress template from here:
http://www.blogger-help.com/2011/10/mobipress-3-column-blogger-template.html
Post a Comment