469,623 Members | 904 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,623 developers. It's quick & easy.

Streaming Image data to an image viewer


I have a third party image viewer that can display various
types of images. The image viewer is ActiveX and lives
inside of Internet Explorer.

To get the image viewer to retrieve an image, java script
on the client looks something like this:

VIEWER.GetImage("http://www.url.com/SomeImage.jpg")
VIEWER.GetImage("http://www.url.com/SomeImage.tif")

Instead of doing the above, I want to have the image
viewer always hit the same web page as in this:

VIEWER.GetImage("http://www.url.com/ImgStreamingFrm.aspx")

ImgStreamingFrm would stream the image data out something
like this:

Response.Clear()
Response.ContentType = "image/tif"
Response.WriteFile("C:\theImage.tif")

The above doesn't work, I believe because the imageviewer
uses the extension such as 'jpg' or 'tif' to know what
kind of image to expect.
Can someone give me a suggestion here?

Jerry J
Nov 17 '05 #1
0 3133

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Eric McDaniel | last post: by
reply views Thread by Phil | last post: by
3 posts views Thread by Robert | last post: by
reply views Thread by BATISTA | last post: by
3 posts views Thread by Tom John | last post: by
6 posts views Thread by | last post: by
8 posts views Thread by Amjad | last post: by
reply views Thread by Andrew | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.