Here are some code snippets from an application I'm still using. Hope it helps:
<cffile action="upload"
filefield="file1"
destination="C:\InetPub\
nameconflict="overwrite"
>
<cfset auth = #REMOTE_USER#>
<cfset webauthor = mid(auth, 10, 15)>
<cfset created=Now()>
<cfset link="#file.ServerFile#">
<cfquery datasource="Webpublish">
insert into pubfiles(webauthor, link, created)
values('#webauthor#', '#link#', #created#)
</cfquery>
You can then display a link to your image, or the image itself, using:
<img src="files/#link#">
or
<a href="files/#link#">Link to Image</a>
By querying up #link#.
John Hoarty
jhoarty@quickestore.com