Load JPG image from Server & return it to browser? 
Author Message
 Load JPG image from Server & return it to browser?

I have an ASP where I want to Load the binary value of a JPG file and return
it from my ASP to the calling source, which is <IMG SRC="">

So basically, my ASP is going to load this JPG, which is in the current
location of my ASP and return it with the

Response.ContentType = "image/jpeg"
Response.BinaryWrite valueofmyjpg

But how do I populate valueofmyjpg from my jpg file?



Tue, 10 Dec 2002 03:00:00 GMT  
 Load JPG image from Server & return it to browser?
I investigated using the ADOCB.Stream Object for open files as byte arrays
in standard VBScript.

Details on:
http://www.btinternet.com/dominic_marks

Its on the front page, although its not functional it should be. (You'll see
what I mean).

Other than that you could try using a third party component.
http://www.serverobjects.com is good apparently.

--
Dominic



Tue, 10 Dec 2002 03:00:00 GMT  
 Load JPG image from Server & return it to browser?
http://www.btinternet.com/~dominic_marks

--
Dominic



Tue, 10 Dec 2002 03:00:00 GMT  
 Load JPG image from Server & return it to browser?
Thanks.

I did the Response.Redirect and it worked great, in IE but not Netscape.  In
Netscape it just mixed everything all together on 1 page instead of letting
it grow vertically.


Quote:
> http://www.btinternet.com/~dominic_marks

> --
> Dominic



Tue, 10 Dec 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Load JPG image from Server & return it to browser?

2. Error loading GIF or JPG image in PictureBox or Image controls

3. Loading JPG images

4. Can't load jpg image, HELP!!!

5. VB 4.0 can load JPG and GIF images!!?

6. How I do JPG and GIF image format load into VB4

7. loading jpg files into image control

8. Creating a drawing and returning an image to the browser

9. storing bit-map image (bmp or jpg) on SQL Server

10. How save JPG file in SQL Server image or binary field

11. How to save JPG files in SQL Server image field

12. Getting Jpg image from SQL 7 server to PPC2002

 

 
Powered by phpBB® Forum Software