Macs (or at least some browser versions) fail to supply the mime information. This is a known issue. Off the top of my head I can't think of/remember a workaround other than don't use a Mac.
> -----Original Message----- > From: Paul Fennell [mailto:[EMAIL PROTECTED]] > Sent: 02 December 2002 11:36 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] cf_autoresize Mac's > > > arhh thats where it is in the custom tag > been lookin at meh code and wondering wot was going on > > > > -----Original Message----- > From: Spike [mailto:[EMAIL PROTECTED]] > Sent: 02 December 2002 11:31 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] cf_autoresize Mac's > > > When you use <cffile> with an action attribute of "upload", ColdFusion > server will generate some variables relating to the file > upload and put > them in the cffile scope. > > Two of the variables it generates are cffile.contentSubType and > cffile.contentType. > > The contentSubType usually contains the mime type of the > uploaded file. > > In order to get access to it you will need to modify the cf_autoresize > tag as the <cffile> tag call is done inside there. > > hth > > Spike > > Stephen Milligan > Team Macromedia - ColdFusion > Co-author 'Reality Macromedia ColdFusion MX: Intranets and Content > Management' > http://spikefu.blogspot.com > > > -----Original Message----- > > From: Paul Fennell [mailto:[EMAIL PROTECTED]] > > Sent: 02 December 2002 12:16 > > To: [EMAIL PROTECTED] > > Subject: [ cf-dev ] cf_autoresize Mac's > > > > > > > > Gents I need to catch the mime type for images > > for form field for macs to use the image in cf_autoresize > > any pointers as its monday and my brain hurts > > > > - Paul > > > > > > > > -- > > ** Archive: > http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] For human help, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
