1 Reply Latest reply on Oct 1, 2007 5:41 AM by Dmadzia


    Dmadzia Level 1
      I am playing with the new CFIMAGE (very nice-by the way!!) and cannot figure how to save a form variable which is a base64 image directly to an MS SQL database BLOB without saving the image to a file and then reading it and writing it to the DB as a BLOB.
      The error I get is "The source file should contain an extension,so that ColdFusion can determine the image format."
      How do I give a base64 image an extension (or source filename)?? I have tried writing to the structure variable cfset myimage.source="test.jpg" but that was just a shot in the dark. Seems there should be a better way to do this then writing the image to a file, re-reading it, and then deleting it.

      Ideas?? Dan