Everything is working fine for me, except one problem that if I have an image with resolution bigger than "4000" like 3500x5000 then it won't create thumbnail, only an "X" show but when you click on the "X" you can view full size image.
So how am I create a thumbnail for an image with resolution bigger than "4000"?