Announcement

Collapse
No announcement yet.

How to make round avatars in vB5

Collapse
This is a sticky topic.
X
X
Collapse
First Prev Next Last
  • Filter
  • Time
  • Show
Clear All
new posts

  • #46

    Picture Uploading Permissions
    Can Upload Custom Avatars (yes)
    Yes No
    Can Upload Animated Avatar (yes)
    Yes No
    Custom Avatar Maximum Width (pixels)
    200
    Custom Avatar Maximum Height (pixels)
    200
    Custom Avatar Maximum File Size (bytes)1KB = 1024 bytes
    100000
    Can Upload Images for Signature (yes)
    Yes No
    Can Upload Animated GIF for Signature (yes)
    Yes No
    Signature Image Maximum Width (pixels)
    500
    Signature Image Maximum Height (pixels)
    100
    Signature Image Maximum File-size (bytes)
    10000
    YES on all acounts.
    Can't even find the place where you're allowed to upload an avatar when joining the forum

    Cheers!

    Comment


    • #47
      Don't you see Edit Avatar button when you hover on your avatar in the Profile page?

      Comment


      • #48
        Yes, I do!
        And FINALLY I saw how to upload my avatar: Suddenly an "Edit avatar" emerged in that same (empty) position.

        Rounded avatars, here I come !!

        Thanks (again!)


        Cheers!

        Comment


        • #49
          I've added the code provided, and now I've got rounded Avatars! Looks really great. Once again: TY very much!

          Cheers!!

          Comment


          • #50
            Would someone be so kind to help me with this round avatar trick? I'd like to keep the default avatar size, so I added Glenn's css from his first post and it worked great but the avatars are not all the same circumference on desktop (see screenshots #1 - #3). The postbit avatars are different sizes along with Who's Online and Last Post. Any ideas how this can be fixed? Css is below as well.

            #1 (NoPantsChico has round avatar in Postbit)


            #2 (multiple images different sizes)


            #3 (Last Post avatar on Channel page)



            .avatar img,
            .avatar:not(.medium) > img,
            .b-avatar:not(.b-avatar--m) > img,
            .b-avatar--thread > img,
            .b-avatar--s > img,
            .b-comment .b-avatar img,
            .b-comp-menu-dropdown__trigger-avatar,
            .profile-sidebar-widget .profileContainer .profile-photo-wrapper .profile-photo,
            .b-avatar--pmchat,
            .b-pmchat__participants-avatar,
            img.avatar,
            img.b-avatar {
            border-radius: 100%;
            }

            .avatar,
            .b-avatar,
            .b-userinfo .b-avatar--thread {
            border: 0;
            }


            Thanks so much for your assistance.

            Comment


            • #51
              Oval avatars will occur if the avatars are not square. Rectangular avatars will never be perfectly round unless you dynamically clip it but you don't want to do that and lose parts of the avatar just to make it square.

              Comment


              • #52
                I'm pretty sure I got round the oval avatar thing by changing the max-width and max-height values in css to just width and height.

                Obviously you then stretching and skewing going on but I think it looks good with a uniform size despite that.
                My vB5 Cloud Demo Site:
                https://www.adminammo.com

                Comment


                • #53
                  That's what I was trying to avoid to disproportionate the avatar size. But if that's fine with anyone, then forcing a fixed square size like Mark.B did should resolve the oval avatar issue.

                  Comment

                  Working...
                  X