Topic: Avatar automatic resize when upload
Hi! Dunno if this has been discussed before, but didn't find anything about it when I searched.
My question is simple, is there any way to make the avatar to resize itself when you upload.
It doesnt need to actually resize, only change the appearence.
Example:
I upload a image thats 200x150, and its displayed as the margins you set, like 80x80. But the image itself are still 200x150.
As in the html code:
"title.gif" is 200x150
<img src="title.gif" width="80" height="80">
Or even better if the aspect ratio is keeped. The height value is a variable. So the width is fixed to say 80px, and the height becomes what aspect ratio the image has.
Example:
Upload "title.gif" thats 200x150
Resize to 80x#
Displays as 80x60 (the same aspect ratio but with 80 in width)
Anybody understands what I'm saying? Sorry for bad english or stupid examples, it's just for being clear.
Anyway, can this be done? (via extension or modification or anything)
This will simplify the ability to upload avatars and wont force ppl to resize their images in photoshop or whatev, not every1 knows how to do it properly. Ofc you can set the size restriction.