1

Topic: Adding BMP file extension to image upload.

Hello,

I'm trying to add a BMP (Bitmap) Image file extension upload capability to my vld personals site.  I noticed while searching that this used to be a simple control panel option, but has been removed.  I understand that BMP is less than optimum when it comes to web images, but my client specifically wants BMP support for the site.

I know this will be a PHP fix, and I do have some experience modifying code here and there.  However, using dreamweaver to search all of the VLD files for instances where image file types are checked revealed that this wont be as simple as slapping .bmp into a few code lists.

Specifically, the functions defined in core.image.php make me think that this might require a bit more customization on my part.

Any help will be appreciated, and thank you to VLD for putting a package together with such clean, well thought out code.

-Rich

2

Re: Adding BMP file extension to image upload.

I'm sorry, I can't teach a man how to pimp up his Rolls-Royce  with graffiti.

www.vldMagic.com - first choice customizations help desk
www.vldCrowd.com - vldPersonals admins community

3

Re: Adding BMP file extension to image upload.

I think BMP images are to heavy and will clog your customer's system. Also performance will be hit. So you are likely to end up with a worse headache once his site becomes glacially slow with all those BMP images. Sometimes clients should be "advised" appropriately. smile

4

Re: Adding BMP file extension to image upload.

As spyder indicated, BMP files are yesterday's format, and have a heavy footprint.
It would be better to popup a message, or use a tooltip hint window, or an area of text near the file browse area, explaining that BMP files are not accepted for performance reasons.