>>I'm writing some code to send requested .JPG images from a web server to a web browser.
>>
>>Before you get too excited, settle down... They are images of bills of lading, nothing spicy. :)
>>
>>Anyway, everything is worked out, I just need to send a .JPG from the server to the web browser, but I'm not sure how to do this. The image will just be a temporary image (unlike like most static web pages).
>>
>>The only thing I can come up with is to create a temporary image in a temporary directory with Web access permissions, then dump a temporary .JPG image in it with a random file name and include the path and file name to the .JPG image in the DHTML being sent to the Web Browser. Then I'd have to clean up the directory by deleting images over 5 minutes old or something.
>>
>>I really don't like the upkeep part (deleting images every so-often) of this method.
>>
>>Does anybody know of an easier way? I'm not out to re-invent the wheel.
>
>I am confused. How is what oyu are trying to do different from an IMG tag? Is this ASP? SOunds to me like all you need is a dynamically assigned SRC attribute to an IMG tag... could you explain more?
I'm doing this with FoxISAPI. I need to generate an image file and display it to the user, and the image files are all built on the fly. I don't want to keep the image around on the web server after the user displays it. So I'm wondering if there is a way to just stream the bits that make up the image to the web browser, instead of imbedding the name of a temporary image file into the URL.
Does this make more sense?
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only