Import image file
Hi,
I am using a cfm page to import an image file.
<cfset setEncoding("url","utf-8")>
<cfset setEncoding("form","utf-8")>
<cfif IsDefined("Form.fileData") and IsDefined("Form.fileName")>
<cffile action="upload"
fileField="Filedata"
nameconflict="overwrite"
destination="#application.upload_folder#"
mode="666"
result="ret">
</cfif>
It is a way to check for duplicate image file names in the folder?
How can I resize the image to a particular width and height?
Thanks!
