Yes, the web page space is not enough and the DB has the space to
expand. 

-----Original Message-----
From: Ken Wilson [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 15 March 2002 12:18 AM
To: CF-Talk
Subject: RE: Image and DB Solution needed

Is there truly a critical need to store the actual image in the DB
instead
of just the name of the image?

Ken



-----Original Message-----
From: Andrew Scott [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 8:11 AM
To: CF-Talk
Subject: Image and DB Solution needed


I have a small problem; I need to pull images out of a DB. Now if I use
the following code nothing is appearing.

<cfcontent type="image/GIF"
reset="yes"><cfoutput>#query.test#</cfoutput>

Now if I remove the cfoutputs and use the file attribute it will display
an image, so my questioning thinks that there is a problem with what I
am doing. I could save the image to the dir and create a link that way,
but that would mean I would have all these temp files on the server
defeating the purpose of pulling it out of the DB.

Can anyone suggest why the above doesn't work, and if it can not be done
maybe describe a solution that could work.

Regards
Andrew





______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to