At 15:10 27-5-04, you wrote:
I'm trying to create thumbnails for my images and everything seems to
work correctly except for trying to save them. I've tried outputting
directly with imagejpeg($im) and that works, but when trying
imagejpeg($im, "new.jpeg") it does not create a new image in the current
directory. I even tried changing the ownership of the script to root to
see if my permissions were screwed up but that didn't work. Here's my
function:

* I'm sure you have a writable directory
* I hope you are not trying to overwrite an existing image file that is not writable
* maybe try to use the full path, check the manual to see whether they do that. hint: use document_root to get the path


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to