Announcement

Collapse
No announcement yet.

Avatar size in topic

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Glenn Vergara
    replied
    http://www.vbulletin.com/forum/forum...tar-field-size

    Leave a comment:


  • Haiwan88
    replied
    Hello

    how i can fixed this
    the Avatar rezised to 64x64, but only the default one. the others working well

    Leave a comment:


  • Haiwan88
    replied
    Same problem.

    Ive used instructions in Post 6 and post 11, the Avatar ist enlarged but all new Posts or messages are with small avatar in Large box

    Leave a comment:


  • funky1
    replied
    I just installed vBulletin 5.1.7, I've read this thread, but am still not clear on all the steps necessary to make my avatars in "thread view" display at 128x128px.

    If someone can put all the steps into a single post, that would be wonderful.

    Thanks a heap!!!

    Leave a comment:


  • Stigur
    replied
    That's the problem I've had as well. When posting a reply, the avatar is a lot smaller than it is supposed to be. But after reloading the page, it's back to normal. Sound like a bug which I hope the fix in a future update.

    Leave a comment:


  • Vilepickle
    replied
    So I changed the class_core.php and added CSS. Seems to work good. However, after posting the avatar size is not the same as when viewing the thread.

    I've changed Avatar size to 200x200, but after hitting "Post Reply" the avatar is still small. vBulletin is actually rendering a smaller version of it. If I use Firebug to expand the dynamically-added avatar with 200px hard width, it gets distorted, so it's not rendering the 200x200 version.

    When I refresh the thread the new post shows the 200x200 version.

    Leave a comment:


  • Mark.B
    replied
    Currently the only solution is a file edit:

    In file:
    /core/includes/class_core.php

    Up near the top are these two lines:
    PHP Code:
    define('FIXED_SIZE_AVATAR_WIDTH',  60);
    define('FIXED_SIZE_AVATAR_HEIGHT'80); 

    Edit the two numerical values to what you have chosen:
    PHP Code:
    define('FIXED_SIZE_AVATAR_WIDTH',  128);
    define('FIXED_SIZE_AVATAR_HEIGHT'128); 

    Then run both these:
    AdminCP > Maintenance > General Update Tools > Rebuild Avatar Thumbnails
    AdminCP > Maintenance > General Update Tools > Rebuild Customer Avatar Thumbnails

    Should sort it.

    Leave a comment:


  • Hummie
    replied
    Glenn, thanks for the info. I could try that, but then each time I upgrade the forum, that file will have to be edited and I do not think I want that added on me right now, so I will save this info for now.

    Leave a comment:


  • Glenn Vergara
    replied
    Originally posted by Hummie View Post
    This is something I was missing too from vB4. This css seems to have done the trick though. Thank you. Edit: Well, when I post a new post, it is small. when I refresh the page, it is larger. What's up with that?
    Take a look at http://www.vbulletin.com/forum/forum...tial-post-load

    Leave a comment:


  • Hummie
    replied
    This is something I was missing too from vB4. This css seems to have done the trick though. Thank you.

    Edit: Well, when I post a new post, it is small. when I refresh the page, it is larger. What's up with that?
    Last edited by Hummie; Fri 11 Jul '14, 4:24am.

    Leave a comment:


  • TLMD
    replied
    Maybe it would be a good thing to add an option in the AdminCP that allowes to set custom avatar sizes for both the topic view and the profile? Then staff profiles could have an bigger avatar again (like it has been when this forum was running vB4).

    Leave a comment:


  • Glenn Vergara
    replied
    Try adding this in css_additional.css template:

    Code:
    .thread-view .b-avatar--m {
        height: 100px;
        width: 100px;
    }
    .thread-view .b-avatar--m > img {
        max-height: 100px;
        max-width: 100px !important;
    }
    Change 100px accordingly. This will only change the avatar size in the thread view (Posts tab).

    Leave a comment:


  • Captain Atkin
    replied
    This is something that a lot of my forum users have been requesting as well. The current avatar size is too small for most, as most of my users were use to having a larger avatar with VB4. I went into the AdminCP, and every time I tried to make them larger that way, it just stayed the same small size. Has there been any way found to make the avatars larger on VB5?

    Leave a comment:


  • Djinni2
    replied
    Originally posted by Mark.B View Post
    Add this to the template css_additional.css:
    Code:
    .avatar.medium > img {
    max-height:100px !important;
    max-width:100px !important;
    }
    Change the 100px to whatever size you wish.

    By autoit does not work?


    .avatar.medium > img {
    max-height:100px !important;
    max-width:auto !important;
    }

    Leave a comment:


  • BirdOPrey5
    replied
    That is only going to do a small part... There also needs to be CSS to expand the white background (or remove it) and also the width of the entire column needs to be expanded as well. Finally something will be needed to re-center the avatar as well.

    This isn't really something that was intended to be altered.

    Leave a comment:

Related Topics

Collapse

Working...
X