Hello,
I'm using CKFinder 1.2.3 with FCKEditor 2.6 with Php (version 5.2.5 in WAMPServer 2.0)
Thumbs are working fine with JPG and PNG, whatever their size is.
But NOT with BMP files that are larger than the maxWidth/maxHeight specified for the Thumbnails config : in such case, the thumbnail is not created, and the question mark is displayed instead.
I searched through the forum for any similar report, but didn't find any.
I see 3 possible reasons (but can't find any workaround):
1- a possible bug in CKFinder (but looks strange to have it only for BMP files - and to be the first to detect it) ?
2- a bad version / parameterization of GD2 ?
3- Incompatibility between BMP "headers" of Windows vs GD2 ? Or at least an issue with BMP format as generated by Windows. I tested both with BMP created with Paint or with Photoshop: same result anyway.
Can anyone help or advise me please? Thanks.
I'm using CKFinder 1.2.3 with FCKEditor 2.6 with Php (version 5.2.5 in WAMPServer 2.0)
Thumbs are working fine with JPG and PNG, whatever their size is.
But NOT with BMP files that are larger than the maxWidth/maxHeight specified for the Thumbnails config : in such case, the thumbnail is not created, and the question mark is displayed instead.
I searched through the forum for any similar report, but didn't find any.
I see 3 possible reasons (but can't find any workaround):
1- a possible bug in CKFinder (but looks strange to have it only for BMP files - and to be the first to detect it) ?
2- a bad version / parameterization of GD2 ?
3- Incompatibility between BMP "headers" of Windows vs GD2 ? Or at least an issue with BMP format as generated by Windows. I tested both with BMP created with Paint or with Photoshop: same result anyway.
Can anyone help or advise me please? Thanks.
Re: Thumbs not working for BMP files larger than maxWidth/maxHei
The problem is that PHP doesn't offer any native function to work with bmp files (imagecreatefrombmp) and possible workarounds either take a lot of server memory or are very slow, anyway this should be fixed in 1.3.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Thumbs not working for BMP files larger than maxWidth/maxHei