Hi,
I think I've run into a conceptual understanding roadblock in trying to
setup uploading then displaying of images in my application.
I've got the uploading part working so far, although since my
application is deployed as a WAR, the files upload to a system folder.
That works alright, but might be a concern regarding the subsequent
displaying.
I wrote up a service that can manage these images as Image or File
object, and I wrote up an ImageStreamResponse class with its inputStream
coming from the Image's outputStream. The service can generate the
ImageStreamResponse from a filename, which I store in the database.
I had read this thread
http://tapestry.1045711.n5.nabble.com/How-to-display-Blob-byte-array-image-td2436148.html
along with other information regarding uploading/displaying images. I
think I'm a bit confused as to what my ImageStreamResponse is or should
be achieving. I had thought using that I might be able to display the
image itself in the TML, but it seems I'd need the URL instead. If I had
the URL in any case then what purpose does the ImageStreamResponse serve?
Thanks,
Rich
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org