Hi all,

Ok I have an image upload section that works fine, on pc.  When macs upload
an image, the image will not show in the browser, although the file does
exist on the server.  So I double clicked the file and my browser opened up
to try to view the image, no luck couldnt view it.  Although I can view it
in other image apps like ACDSee and Photoshop.

Now for the interesting info :)

After uploading, I output the CFFILE.ContentType and CFFILE.ContentSubType,
the mime type from what I understand.

Mac output: application/x-macbinary
PC output: image/pjpeg

Im thinking that the browser uses this info to display the image, and when
it encounters the mac mime type it doesnt know how do display it, although
the graphic programs dont have a problem with this.

My proposed solution:
When receiving the upload from a mac force the mime type.  Now if I only
knew how to do that :)  Could I use CFHeader or something????

Thanks for any ideas at all,
Jeff


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to