Thumb Problem
Good morning eveyone
i try to create thumb with php and save it in to directory
everything is working perfect but when i try to save the image i got this error
Warning: imagejpeg(): unable to open 'http://localhost/test/images/thumb/thumb_2.jpg' for writing in c:\inetpub\wwwroot\test\include\image.php on line...
and for somebody, I already have the floder called thumb.
i do not know what is wrong but if i do not want to save the thumb everything is working perfect and i will get a thumb like
imagejpeg($dst, "", 100);
but when i using this
imagejpeg($dst, $thumb, 100)
i will get that Error.
and also i tried to use chmod and 0777 and it is not working.
any help?
Thanks
Regards
Mani_he
|