[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unsubscribe



unsubscribe
-----Original Message-----
From: Nedim Colic [mailto:nedim@yahoo.com]
Sent: Wednesday, November 21, 2001 12:32 AM
To: ajug-members@www.ajug.org
Subject: RE: View Image

> How would I go about implementing this, since I have to use a intermediary file --
 
You DON'T have to use intermediary file! The simplest (and not the most optimal) way is to stream the image from servlet. This is as simple as sending couple of headers to the browser and writing the image data to the "out". Most good database servers (DB2, Informix etc.) have plugins and optimizations for media files. I'm not sure about SQL2000.
 
If they are just a static images you can store them on disk temporarily as some people suggested, but than again if they are static why are they in the database in the first place? If you're manipulating them in any way you may need to stream them directly from servlet.
 
Cheers,
 
Nedim.
 
-----Original Message-----
From: Vikrant Verma [mailto:vverma@VisionAIR.com]
Sent: Tuesday, November 20, 2001 4:49 PM
To: ajug-members@www.ajug.org
Subject: RE: View Image

hi,
The other way it is done is to create image on the fly.
Though u may want to consider performance in both the methods. Below is a jguru link to give u directions.
hope it helps
-Vikrant
 
-----Original Message-----
From: Jagdeep Bedi [mailto:jbedi@palasys.com]
Sent: Tuesday, November 20, 2001 3:57 PM
To: Cynthia Jeness
Cc: ajug-members@www.ajug.org
Subject: Re: View Image

appreciate all who responded!
 
How would I go about implementing this, since I have to use a intermediary file --
 
Will this intermediary file stay on the server?  If so, how will the clients access that file?  I'm just really up to my ears with this one...
 
thank you
Jags
----- Original Message -----
Sent: Tuesday, November 20, 2001 12:11 PM
Subject: Re: View Image

Jagdeep,

The standard practice is to create an intermediary file and cache it for a fixed period of time for performance reasons.  With a standard HTML page, this may be your only option.  One of my clients has implemented a large imaging application and this the approach that they have taken.

Cindy

Jagdeep Bedi wrote:

Hello all... Seem to have put myself in a little situation. I have a database (SQL Server 2000) where my images are stored.  What I would like to do is to retrieve those images directly (no external file) and view them in a html page. For the twist...this application is a web application and those images need to be seen by all clients who access that application.  I have read about URL's , but that didn't seem to work... All help is greatly appreciated!!jags