How come the GetImageSize() can't detect jpg file? when i try to upload a jpg file, 'example.jpg' , GetImageSize() will treat it as 'text/plain' type.
So I rename the file to 'example.jpeg', GetImageSize() will detect the file type is "image/pjpeg".
How can i solve this problem??