Code: Select all
img.avatar {max-width: 75px;}
* html img.avatar {width: 75px;}
your,
nerd.
Moderators: TapeOpLarry, tomb
Code: Select all
img.avatar {max-width: 75px;}
* html img.avatar {width: 75px;}
I agree with this... I've seen this type of rule enforced on other websites... It wouldn't seem unreasonable to see "Avatar must not exceed X pixels in width." on the Profile Settings page...Dmitry Kichenko wrote:Still, the easiest way is to just force everyone to use a fixed sized avatar, and whichever ones are above the set limit will not show up at all .
I thought about this, but I decided to go with the javascript resizing because max-width isn't supported by all browers. Still, maybe it is better than the current fix.syrupcore wrote:yeah, I just tried it out. In the css you can add this:
seems to work fine and doesn't have the page jump. the second line (* html ...)is for IE6 and below. IE6 doesn't support max-width because it's an asshole. that means all avatars in IE6 and below will be stretched a little if they're under 75px (like hillary's) but they should upgrade their damn browser anyway. I dunno what the desired avatar width is. i just guessed at 75.Code: Select all
img.avatar {max-width: 75px;} * html img.avatar {width: 75px;}
your,
nerd.
that might be the best way, but might not the easiest for the users of the board. If there was a plugin to disallow images over x size with a link to some online tool that would resize it for you, that might work out but I'm assuming lots of people don't really know how to make and host a resized image. they just find something on google images and copy a link.Dmitry Kichenko wrote:Still, the easiest way is to just force everyone to use a fixed sized avatar, and whichever ones are above the set limit will not show up at all .
yes and yes. i absolutely love dreamhost, even with all the problems they had over the summer. *however*, that said, dreamhost is the host for the regular tapeop.com site and dreamhost is the host that screwed us when i bandwidth got out of control and just took the board down and essentially blacklisted us because of it...syrupcore wrote:The other suggestion is consider switching hosts to dreamhost. employee owned, pretty much unlimited bandwidth, unlimited databases and a shit ton of space. dead cheap, nice fellas.
Users browsing this forum: No registered users and 42 guests