Coldfusion 8, Apache, Mac OS X Server 10.5.
I have a web application which lets users upload images. However, it always fails to upload TIFF files. JPEG, GIF, and PNG upload just fine, this problem seems to be only with TIFFs.
The user selects the image to upload via a cfinput tag in a form. When the form is submitted, I try to rename and move the file using a cfimage tag. For JPEGs, PNGs, etc. this works perfectly, but if the image is a TIFF, it errors out to:
"ColdFusion was unable to create an image from the specified source file. Ensure that the file is a vaild image file."
Next I changed the cfimage tag to a cffile tag to try a different way to rename and move the uploaded image, but that gives the error:
"The MIME type of the uploaded file video/x-ms-wm was not accepted by the server. Only files of type image/* can be uploaded."
So, it seems that ColdFusion thinks TIFFs are videos. I doubled checked /Applications/ColdFusion8/runtime/lib/mime.types, and that contains
image/tiff tiff tif
...just like it ought to. Why can't ColdFusion get TIFFs' MIME type right?
Thanks so much!