[eluser]yannyannyann[/eluser]
Hello,
I am trying to upload a BMP file :
this is the result of the CI upload data function :
Code:
$this->upload->data();
[file_name] => blackbuck4.bmp
[file_type] => application/octet-stream
[file_path] => /mypath/
[full_path] => /mypath/blackbuck4.bmp
[raw_name] => blackbuck4
[orig_name] => blackbuck.bmp
[file_ext] => .bmp
[file_size] => 768.05
[is_image] =>
[image_width] =>
[image_height] =>
[image_type] =>
[image_size_str] =>
As you can see there is no information for the last 5 variables.
Therefore I have added the type in my MIMES.php file :
Code:
'bmp' => array('image/bmp','application/octet-stream','image/x-ms-bmp'),
But I still get the same result : No information for is_image, image_width, image_height, image_type, image_size_str.
Any idea ?