I have been searching the net for a solution to this problem for a couple hours, and I can't find any solution...I am writing a script which will resize an image from 640x480 to 320x240 to display on a page. I am using PHP4.x.x with GD2.0. The followng line:
$image = imagecreatefromjpeg("/path/to/image.jpg");
Returns the error,
"Warning: imagecreatefromjpeg: Unable to open '/images/uploaded/rail_small.JPG' for reading in /usr/local/apache/htdocs/image_test.php on line 3
I tried several different images all with the same result. I know that the permissions are set right and the path is right. Is this the result of an error I made in configuration?