![]() |
Change the Image in the Avatar
I am having problems with my avatars using a smaller thumbnail than I'd like, but can't work out how to change that, and having now luck.
So I would like to change the image it serves to the full image, then rescale in CSS, the CSS I already have, but where can I find this part <img src="./core/image.php?userid=1&thumb=1&dateline=1545596618" alt="Admin" title="Admin"> So I can just have it show. <img src="./core/image.php?userid=1" alt="Admin" title="Admin"> |
Sorted.
Incase anyone is wanting to do this, I edited image.php in the core directory, if you find $table = 'customavatar';, then replace the $filedata_thumb to just say $filedata as I have here, it's not elegant, and I think someone can probably do this better! But it's doing what I wanted now. Code:
else |
Attention... if everyone load up a 1 mb avatar and you viewing a thread of 20 posts the user have to load 20mb to see all avatars. If you have wrong thumb size, change it and then (/admincp/misc.php?do=chooser&) rebuild custom avatar thumbnails should work!
|
All times are GMT. The time now is 03:52 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|