Hi, Im testing out a system which might add images into a MySql database. Currently I've got the images going into it (I think) using: <cffile action=upload> <cfset newfile="cffile.serverfile"> <cfquery.....> insert into table (image) Values (#newfile#) </cfquery>
Looking at the db, the image seems to be in there. Now to view it, Im trying this: <img src="image.cfm?id=1"> where image.cfm contains: <cfcontent type="image/gif"> <cfoutput>#image#</cfoutput> AND ALSO: <cfcontent type="image/gif" file="#image#"> to no avail. any pointers on how to read the image out of the db? Cheers, Douglas McKenzie ---------------------------------------- Internet Developer / Designer [EMAIL PROTECTED] 07984 462 516 ---------------------------------------- -- ** 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]
