How can i do it larger?
Announcement
Collapse
No announcement yet.
Avatar size in topic
Collapse
X
-
Avatar size in topic
Hello, i changed max avatar size and now its 450x450, but in user post avatar still small.
How can i do it larger?
-
Add this to the template css_additional.css:
Code:.avatar.medium > img { max-height:100px !important; max-width:100px !important; }
-
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.
Comment
-
Originally posted by Mark.B View PostAdd this to the template css_additional.css:
Code:.avatar.medium > img { max-height:100px !important; max-width:100px !important; }
By autoit does not work?
.avatar.medium > img {
max-height:100px !important;
max-width:auto !important;
}
Comment
-
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?
Comment
-
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; }
Comment
-
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).
Comment
-
-
Originally posted by Hummie View PostThis 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?
- 1 like
Comment
-
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.
Comment
-
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.
Comment
-
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!!!
Comment
Related Topics
Collapse
-
by Haiwan88Hi
i have a Problem The Avatar Size dont want to change, i change the Size of the avatar bye uploading bigger Image and change the code, but it dont want to change.
The Red Code is...-
Channel: vB Cloud Support & Troubleshooting.
Wed 23rd Dec '15, 3:26am -
-
by Flash04jvHow do I increase the size of the box the avatars are in? Not talking about the allowable upload size in usergroups, the actual amount of space the photo takes up.
Here is a photo of what...-
Channel: vB Cloud Support & Troubleshooting.
Sun 30th Aug '15, 5:34pm -
-
by NintenexDoes anyone have the CSS code for Increased Avatar sizes? One that works all around the board except the online list....
-
Channel: vB Cloud Support & Troubleshooting.
Sun 25th Nov '18, 4:28am -
Comment