rellek
Well-known member
Hi,
is there a (simple) way to remove width and height attributes from the img tag that displays avatars in posts?
I'd like to have them sized using CSS since I have to use the "l" version because of animated gifs. And old avatars are mostly 60x60, so if there's
<img src="data/..." width="192" height="192" />
and CSS
will make all avatars to be displayed with 96x96. If they were smaller, they will be stretched by the browser. So if those html attributes would be away, everything would be fine...
Thanks!
is there a (simple) way to remove width and height attributes from the img tag that displays avatars in posts?
I'd like to have them sized using CSS since I have to use the "l" version because of animated gifs. And old avatars are mostly 60x60, so if there's
<img src="data/..." width="192" height="192" />
and CSS
Code:
img {
max-width: 96px;
max-height: 96px;
}
will make all avatars to be displayed with 96x96. If they were smaller, they will be stretched by the browser. So if those html attributes would be away, everything would be fine...
Thanks!