![]() |
Minimum Avatar Size [REQ]
Hey there,
Right now I have my forum set so that the maximum avatar size is set at 150x150 pixels. But what I cannot do is set the minimum so that the users don't upload a tiny avatar. My minimum is enforced verbally at 100 width and 150 height. Is there a hack I could get that could automatically prevent users from uploading an avatar that's below the minimum? Thanks :), domokun Having a fixed size avatar would also help if there's no way to have a minimum size. Thanks again ;), domokun |
I need it too! :(
Any idea how to set a minimum avatar size? |
I've always edited the postbit and/or postbit_legacy templates and defined the width/height of the avatar. If you don't mind doing that then...
Find: Code:
<img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /> Code:
<img src="$post[avatarurl]" width="x" height="y" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /> Replace "x" with width size and "y" for height size. It doesn't matter what size the image upload is as it'll be forced to display your specified dimensions. |
All times are GMT. The time now is 08:40 AM. |
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:
|