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]

Reply via email to