trippo / ResponsiveFilemanager

Completely Responsive Filemanager with integration for tinyMCE,CKEditor and CLEditor editor
http://responsivefilemanager.com
Other
815 stars 366 forks source link

Cannot upload .ico image files #311

Open LPitonakova opened 7 years ago

LPitonakova commented 7 years ago

Hi,

I am trying to allow using of .ico files for images. I have added the ico extension to the config file like this:

'ext_img' => array( 'jpg', 'jpeg', 'png', 'gif', 'bmp', 'tiff', 'svg', 'ico' ), //Images

But when I try to upload, I get an error: "Thumbnails creation: File extension is not allowed. filemanager/upload.php#255" .

I tried adding the ico type into the mime list in include/mime_type_lib.php like this:

'ico' => 'image/png',

But still the same error. Do you have any idea how I could enable using of ico files? Thanks!

alexantr commented 7 years ago

This filemanager uses php gd extension for thumbnails creation. It doesn't support ico files.

LPitonakova commented 7 years ago

Ah, ok, thanks for letting me know.