class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
Hello. This class some time doesn't work.It say "Error in creating JPEG image from source" at upload a some photos.But my GD is working. What can I do?Reply
You log indicates that it all works. Can you paste a log for an image which fails?
Also, I see some non-ASCII characters in your filename (ayya--?--lar). Does the class fails for images which have these characters, or does it work fine?
For chmod, use the chmod command under Linux. Under Windows, I don't think there is such a permissions system.Reply
This class some time doesn't work.It say "Error in creating JPEG image from source" at upload a some photos.But my GD is working.
What can I do?
Can you post a link to one of the offending images?
Example,
I can't upload this picture:
http://img2.she-ker.com/grafikti.jpg
It's very nice class but I wanna help for my script.
Can you paste here your code and the class log? Which version of the class are you using?
Also, paste here the log of the class.
You might want to check if the picture is readable by PHP. Try 777 to begin with.
1- Where is the log stores?
2- How do I do it 777 (readable)?It's file chmod?
Also, I see some non-ASCII characters in your filename (ayya--?--lar). Does the class fails for images which have these characters, or does it work fine?
For chmod, use the chmod command under Linux. Under Windows, I don't think there is such a permissions system.