Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display Images from Oracle Blob Fields

Status
Not open for further replies.

Clueless2

Technical User
Jun 1, 2001
2
GB
I'm trying to dynamically retrieve images stored in an Oracle database (8.1.6) using perl cgi scripts by setting the content type.

main.hmtl
---------
..
..
<img src=&quot;image.cgi&quot;>
..
..

The image won't display, but if I have the script, image.cgi, write the contents of the blob field to disk I can view the newly created file. The &quot;Content-type: image/jpeg&quot; is being set by the returning cgi script. Is it possible to return the image directly back to the browser without having to store it on the local file system?
 
dear Friend

Tell me how to Use BLOB Datatype in Oracle. I have to access this field through VB. So if u give me the code it will be very very use ful from me

Regards

Ramesh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top