5 Replies Latest reply on Sep 17, 2007 2:17 AM by rupesh_kumar

    Binary Object (Image) to browser

    romeogq Level 1
      Coldfusion 8

      I am trying to output an image I have store in my mssql 2005 database. This is what I have so currently...
      <cfimage action="writeTobrowser" source="#imagenew(logo)#">

      Problem is that the image is being outputed as a .png file, not an animated .gif file as stored. So how can I go about output the actual file as originally stored??

      P.S. I understand the and have used the option of storing files in structure, but chose to go the varbinary(MAX) way this time which is why I'm having issues. Thanks in advance for all those who try and lend some assistance.