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.
Upoading Images
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Upoading Images
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.
Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/