|
Auto Avatar Size
|
|
03-28-2007, 07:16 PM
(This post was last modified: 03-28-2007 07:17 PM by aorgun.)
Post: #1
|
|||
|
|||
|
Auto Avatar Size
By: AoRGuN
What's it: Auto avatar size for postbit ![]() AdminCP >>> Templates >>> Edit/Delete >>> Your Theme >>> Expand >>> PostBit Templates >>> postbit_avatar Find: Code: alt="{$avatar_width_height}"Code: alt="width="150" height="150""NOTE: You Change it: Code: 150 |
|||
|
03-28-2007, 07:22 PM
Post: #2
|
|||
|
|||
|
RE: Auto Avatar Size
I'm going to try this... Thanks for sharing.
Clicktotweet.me |
|||
|
03-28-2007, 10:09 PM
Post: #3
|
|||
|
|||
|
RE: Auto Avatar Size
beautiful speciality , very thank aorgun
|
|||
|
03-28-2007, 10:32 PM
Post: #4
|
|||
|
|||
|
RE: Auto Avatar Size
This is probably the easiest, but the poorest solution to avatar resizing. It'll stretch avatars smaller than 150x150 and make avatars larger than 150x150 smaller which will make it worse. It also means users can upload huge avatars and would take a long amount of time to load even when they're being downsized to a very small picture.
|
|||
|
03-29-2007, 09:03 AM
(This post was last modified: 03-29-2007 09:04 AM by Yumi.)
Post: #5
|
|||
|
|||
|
RE: Auto Avatar Size
I tend to set the max height for oversized avatars (I don't think you can really prevent people from using avatars with large filesize if they use the avatar URL feature).
Something like: Code: <div style="max-height: 150px; max-width: 150px">{avatar variable here}</div>
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help






