Avatir Size

Status
Not open for further replies.

CableModem

Baseband Member
Messages
69
I am used to having images be downsized, but on the Car And Driver Forums, you can submit an avitar of any size and they make it smaller. I'd like it if you could do that too.
 
I just use Vicman's Photo Editor. Its a free download and really simple to use, you open the pic and click "edit", "resize", and enter the dimensions, takes about 3 seconds!
 
probably just a simple hack, to say that any uploaded image must be displayed at 80x80
 
well, if the server's got the GD Libraries installed in it you can mess around with a lot of images and what not, create images and modify images....if Larry and Jack have them, it's probably some easy thing like
PHP:
<?php
if ($imagesize > 80x80){
$gdimageresize 80x80;
$functionsavegdimageupdatedwithnewresolution;
}else{
poop
}
?>
that's really nothing, but it would probably be pretty easy, i really haven't messed with the gd functions of php...
 
Status
Not open for further replies.
Back
Top Bottom