I can't resize images with gd, phpinfo says its installed..
Posted: Tue Apr 08, 2003 11:09 pm
Ok guys, I am trying to resize an image with GD and..it's not working..as if PHP is not recognizing the GD functions even though phpinfo says it's there:
gd
GD Support enabled
GD Version 2.0 or higher
JPG Support enabled
WBMP Support enabled
(that's copied from the phpinfo print out)
this is my code:
at first I thought I did something wrong then I just put imagecopyresized()
and no errors came out... any ideas guys..
gd
GD Support enabled
GD Version 2.0 or higher
JPG Support enabled
WBMP Support enabled
(that's copied from the phpinfo print out)
this is my code:
Code: Select all
<?
imagecopyresized(/home/web/pcgs/finish.jpg, /home/web/pcgs/062.jpg, 0 , 0 , 0 , 0, 150, 113, 1024, 768);
?>and no errors came out... any ideas guys..