Hi,
I have an upload form for images that resizes/crops them on upload and moves them to a specified folder. Works great. Except when I try to upload a very large photo in file size, with that the case I get this error:
Fatal error: Allowed memory size of 26214400 bytes exhausted (tried to allocate 12416 bytes) in /path/to/file/gallery.php on line 381
At that line of the file is this simple line of code:
$simg = imagecreatefromjpeg($source);
Is there something in the php config file that sets a size limit when using the imagecreatefromjpeg function?
I thought maybe it was just over the max upload size allowed by php, but then I uploaded through a form not using the resize/crop script and it worked great.
Any help you may be able to offer would be greatly appreciated!