I have problem when i try to upload jpeg
image. My configuration is :
$config['allowed_types'] = 'gif|jpg|png|jpeg';
And mimes:
'jpeg' => array('image/jpeg', 'image/pjpeg'),
All other formats like gif, jpg, png
work fantastic, only not work when i try to upload jpeg
What can be problem? Anyone have some problem ?
Please try with
$config['allowed_types'] = '*'; //All Types of Images
If it is working then Please check with $_FILES for what mime type your browser read.
Same issue with file upload for .xls. Please check answer: