When users upload an image to my server (Shared Server), the server shoots an error when the file has a width > 2000 pixels. It doesn't have to do with the filesize -- I can upload a 1 mb file at 2000 width and it still crashes. If I upload a 1 mb file at 1000 pixels, it works fine.
This is the error I get. Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20000 bytes)
I am using SimpleImage plugin (http://www.white-hat-web-design.co.uk/blog/resizing-images-with-php/) and CakePHP framework.
I read both PHP File Upload greater than upload_max_filesize and error and Large File Upload Errors with PHP but neither really addressed this issue.
Anyone ever come across this? Any ideas?