Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending .JPG images
Message
De
24/07/1999 19:49:16
 
Information générale
Forum:
Internet
Catégorie:
World Wide Web
Divers
Thread ID:
00243986
Message ID:
00245781
Vues:
24
>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?
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform