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.
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>
$("img[src='http://img1.blogblog.com/img/anon36.png']")
.attr('src', 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQuwN365MbPWW3qaH00UYG_o1XPYXnjdCnKwnhbZ3YTinycdHIeKIeCIGYn2-QrtD7u7mEDB0oqGc8xir4WKeiTtXhD8eu-Me-PR8niN3FlwQd1SkBD2DLUf9b8fB9oNp5n_1qUeZje7s/s1600/default_avatar.gif')
.ssyby('blank')
</script>
<script src='http://code.jquery.com/jquery-latest.js'/>
<script>
$("img[src='http://img2.blogblog.com/img/b36-rounded.png']")
.attr('src', 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgroP9gPDiGIlTMR1t44UY4Z8acCwLuojiTm0ORX_5TsQMXEEUNWiWDSLiWbYKByxO-5CpYAcBoKBFXHQdgew2ymtYmLt67-uJajqkJFpV0-136fzHQ6UeSBkUxaFKufBQUxfxhr6XBFsM/s1600/blogger-user.png')
.ssyby('blank')
</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):
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQuwN365MbPWW3qaH00UYG_o1XPYXnjdCnKwnhbZ3YTinycdHIeKIeCIGYn2-QrtD7u7mEDB0oqGc8xir4WKeiTtXhD8eu-Me-PR8niN3FlwQd1SkBD2DLUf9b8fB9oNp5n_1qUeZje7s/s200/default_avatar.gif

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-adKFC6c_nTeUy214PQts63gIiyA8ywTdHlp1-EtiqaS3EwQ3di-UKKvE9qehEqfqklmAhB50ttyT_7sS3hY6xEXOK8rlSr36232-be6iwjPHwtgndL3rvRhdxPgAq22tZ9LxwJDLnEw/s1600/facebook.gif

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdpAExfKi05XyO15_b2ESvjxWyjN10FmZRYMOnoliq0G4Q5AAR9cKhuWtaKO9nk1ohCzUGSWwhB2Ir4J-tX27fzzeGTT5q-5Kw45VbU2aNDOuTqcnoeheB9ZY7ua4ikKatXXcu4-mSNIE/s1600/anonymous3.png

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhldmjvm1-8mpIT1KpYMeZ6H4nu9vBKO1fajDS4p0YCncS3pEItU3GQWIjzRLxDBskQAFFATniUXnGUWJQNRPNSKNdeo70jL7R4rdQ_1Wnnv2WyabQBtuW7NWA7AEcNuKdmcdjVdTksvzyK/s1600/blogger-user.png
That's it!
If you liked this post, please consider sharing it.


Không có nhận xét nào:
Đăng nhận xét