Whenever I try to upload photos, that have been taken from digital cameras, the following exception occurs:
imagesx() expects parameter 1 to be resource, boolean given
Each of the image is more than 2MB in size, resolution is 3000x4000 pixels and the filetype is JPG.
I haven't installed any image processing libraries so I believe GD library is being used.
The size of the image is only limited by your PHP settings. So that shouldn't be why it's not working.
Would you mind sharing your code, I just wanna see if there's something in there.
The only reason that could happen, I believe, is if the mime type of the image you upload isn't recognised.
The size limit of the image seemed to be the problem. So now I check the size of the image and the mime type before sending it to resizer. Thanks for the help.