Page 1 of 1

Upoading Images

Posted: Wed May 26, 2004 4:27 am
by jromeyn
When uploading images, the images upload fine but I get this warning even after I upgraded to GD2.0

File normal2.jpg successfully uploaded as /home/www//serendipity/uploads/normal2.jpg

Warning: imagecreatetruecolor(): requires GD 2.0 or later in /home/www/serendipity/serendipity_functions_images.inc.php on line 344

Warning: imagecopyresampled(): requires GD 2.0 or later in /home/www/serendipity/serendipity_functions_images.inc.php on line 345

Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/www/serendipity/serendipity_functions_images.inc.php on line 346
Thumbnail created.
Done.

Re: Upoading Images

Posted: Wed May 26, 2004 12:01 pm
by garvinhicking
If PHP gives you this warning message it means that you don't have GD2.0 installed. Check your phpinfo() output to see the version; maybe you forgot to recompile your PHP after installing the new library; GD is statically linked into PHP, if you didn't specify otherwise.

Regards,
Garvin.