Imagem da capa

Imagem da capa

How to Change Blogger Comments Avatar Size and Resolution.

Hi Everyone!

Today i will share a trick on change blogger default comment avatar size. Blogger provide its users with small comment avatar thumbnail images and many of us are tempted to change the size of the comments avatar but when we do this, we start getting blurry images which is ugly because you hardly recognize the face of the commenter. 😒


Blogger comments default size is of 35px. If you do it by css, your avatar size will increase but image quality will not improve. It will show like blurry. If you do it by javascript, it will help you to show avatar with best quality.


Change Blogger Comments Avatar Size and Resolution.


  1. Login your Blogger account.
  2. Go to Theme.
  3. Click Edit Html.
  4. Click anywhere inside the code area.
  5. Press CTRL + F to open the blogger' search box.
  6. Search for:
  7. </body>
  8. Now copy the below code and paste it just before </body> .
  9. <script type='text/javascript'>
    //<![CDATA[
    $(document).ready(function() {
        $(".avatar-image-container").find("img").each(function(a, t) {
            (t = $(t)).attr({
                src: t.attr("src").replace("/s35", "/s100")
            })
        })
    });
    //]]>
    </script>
    
  10. Again, search following code in CSS:
  11. .avatar-image-container
  12. Replace again:
  13. height: 35px;
    width: 35px;
    max-height: 35px;
    max-width: 35px;
    
  14. After done everything click on Save template button to apply the change.
Check out the comment avatar of your blog.
Hope the tutorial was successful and it worked well for you. Sharing is caring an should in case you have any questions, do share with me at the comment box.
you can read this article in Portuguese here.

4 Comentários

  1. Tentei no meu blog e não consegui. Poderia me ajudar?

    ResponderExcluir
  2. Ou a desabilitar a exibição do avatar, também seria bom dessa forma. Mas não estou conseguindo.

    ResponderExcluir
    Respostas
    1. Bem, eu atualizei o script agora de resto é só mudar o tamanha do avatar (caso você queira) [code].avatar-image-container[/code]

      Excluir
  3. Obrigado, chefe, irei tentar de novo. Volto pra informar se deu certo

    ResponderExcluir

Ativador Formulário de Contato