cotonti.com : Mime type for bmp is missing ?? https://www.cotonti.com Son konu mesajları Cotonti en Mon, 13 Oct 2025 20:32:11 -0000 Kilandor Cmt, 09 Oca 2010 01:36:05 -0000 ez Thnks,

You are right.. Maybe we should remove bmp as an supported mimetype ???
It is not an used web format..

anyway, more information here: http://php.net/manual/en/function.imagecreatefromwbmp.php
Someone has made a custom: imagecreatefrombmp

Question, HOW can I remove .bmp from the supported pfs formats (I will remove it) ????

greets]]>
Cum, 08 Oca 2010 23:34:19 -0000
Kilandor
Added 53 minutes later:

Actually, I forgot why its like that, its due to php's lack of a imagecreatefrombmp function.
Place this in your datas/mimetype.php at the bottom, this will allow your bmp's to work.

$mime_type['bmp'][]		= array('image/bmp', 'BM', '0', '0', '2', '0');
]]>
Cum, 08 Oca 2010 15:53:32 -0000
Trustmaster datas/mimetype.php]]> Cum, 08 Oca 2010 05:11:18 -0000 ez
I have got the following error when uploading a bmp to pfs:
xxx.bmp : The mime type for bmp is missing. Uploading failed

How do I fix that ???

thnx,

Leo]]>
Cum, 08 Oca 2010 04:49:17 -0000