The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Avatar (image) resizing help!
I have my avatar image size set to 225x225px.
However I only want the width to be 170px on the showthread.php page (postbit_legacy), so I've decided to add " width="170px" " in the postbit_legacy template and everything is fine. However, the problem is if a user uploads a small image (lets say 100px X 100px) it stretches and looks distorted in the showthread.php Is there any way I can make it so that 170px is restricted for only images larger than that? |
#2
|
|||
|
|||
I found something about max-width and max-height but confused on how it works.
|
#3
|
||||
|
||||
Why do you not want to just set the allowed size of the avatars in the Usergroup Manager?
It looks to me like the avatar path along with the height and width are determined in /inlcudes/class_postbit.php around lines 623 or so. You would probably have to edit that code to do what you want. |
#4
|
|||
|
|||
i think you mean you want the avatar smaller on legacy than the normal postbit?
if so I can help. just let me know and i'll post up what ya need |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|