Error uploading .bmp file format - gets rejected I'm doing some testing on file uploads and discovered that the .bmp file format gets rejected even though defined in my config file as an allowed file extension.

I have added the following to my config file:

 'extraAllowedFileExtensions' =&gt; 'bmp, jpeg, tiff, pdf, cdr, gbr, gtl, dxf, dwg',
 'allowedFileExtensions' =&gt; 'bmp, jpeg, tiff, pdf, cdr, gbr, gtl, dxf, dwg',


This is the error I receive:

The file “/private/var/tmp/php7Md2bj” does not appear to be an image.

/shop/craft/app/etc/image/Image.php(138)

138    throw new Exception(Craft::t('The file “{path}” does not appear to be an image.', array('path' =&gt; $path)));


How do I fix this?
You're probably using GD, which doesn't support BMP files. 

If you install  Imagick on your server, Craft will use it automatically and it supports a much wider range of file types, including BMP files.