snoodle
05-06-2009, 09:00 PM
I've read a zillion quesitons and comments regarding problems with imagecreatefromjpeg(), mostly instances where it was running out of memory. Upping "memory_limit" from php.ini fixed most of the problems I read about.
In my case imagecreatefromjpeg (or @ImageCreateFromJpeg) don't appear to return at all when I pass it a 4 megabyte file (it works on smaller files (exactly how much smaller, I'm not sure of at the moment - at least 1meg).
I've set memory_limit, post_max_size, and upload_max_filesize real high. The file passed to imagecreatfromjpeg is first uploaded, and the 4meg+ files do that just fine. The problem is when I hit imagecreatefromjpeg.
Any help is most appreciated.
BTW, it works fine on my local machine, but not on my host's server.
In my case imagecreatefromjpeg (or @ImageCreateFromJpeg) don't appear to return at all when I pass it a 4 megabyte file (it works on smaller files (exactly how much smaller, I'm not sure of at the moment - at least 1meg).
I've set memory_limit, post_max_size, and upload_max_filesize real high. The file passed to imagecreatfromjpeg is first uploaded, and the 4meg+ files do that just fine. The problem is when I hit imagecreatefromjpeg.
Any help is most appreciated.
BTW, it works fine on my local machine, but not on my host's server.