Thanks for posting the fix, Geek. That worked perfectly!
The autoresizer is working great on my site now.
small note:
One thing I noticed during my testing was that if the image was a grayscale GIF image, I got the following error:
Warning: imagecreatetruecolor(): Invalid image dimensions in /includes/functions_geekautoavatar.php on line 44
Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /includes/functions_geekautoavatar.php on line 45
Warning: imagegif(): supplied argument is not a valid Image resource in /includes/functions_geekautoavatar.php on line 53
Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/functions_geekautoavatar.php on line 58
|