9 Replies Latest reply on Dec 22, 2006 1:58 PM by coldfuse228

    How to display a blob image

    coldfuse228
      Hi, right now I am calling a stored procedure that returns a blob (JPEG image), what is the easiest way to display this image? I have to somehow use the tobinary function, but I don't seem to generate it correctly? Can someone provide sample code?

      Currently, I have something like:
      <cfloop query="photoGallery"><img src="toBinary(photoGallery.photo)" width="128" height="180" border="0"></cfloop>

      Thanks so much,
      C.