Originally posted by parawizard
to bad the user above wants to be a pain :rolleyes:
.....
Yah too bad I pointed him to exactly what he needed, then answered his next question :rolleyes:
to clarify on the use of the function....
int imagejpeg ( resource image [, string filename [, int quality]])
imagejpeg($imgRes, $filename_to_write_image_to);
$imgRes would be the resource identifier you created with whatever method of image_create you used....
$filename_to_write_image_to is just that, the filename you want the image saved as....
to get all this to work with your forum though, you will need to modify the forum to accept PHP extensions for avatars... which obviously could be a security risk.
quality is an optional variable... I've never used it...