Forum Moderators: coopster
I made a php image upload class that scales the uploaded image down to reasonable size, and also creates a custom-sized thumbnail. The class works fine - most of the time.
Some times, it gives me an internal server error 500. And the thing is that I never know when this comes up. It is more likely to occur when I upload jpg images taken with my digital camera, so at first I started to think it was something with the color range. If I upload a small simple jpg it never gives me the error.
I also made sure all images had a simple filename with no spaces or special chars.
But then I read some more and many people suggested it could be a permission issue. But that would be strange, since some images work and some dont...
Also, testing on other machines than my own never gave me any problems either. So maybe it is a caching thing?
Any reply/thoughts/help would be greatly aprechiated.
thanx
GD Upload and Resize Script [webmasterworld.com]