Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: OAS AND STORED IMAGES

Re: OAS AND STORED IMAGES

From: Stefan Batschkowitsch <sbatschk_at_de.oracle.com>
Date: Wed, 26 May 1999 18:26:43 +0200
Message-ID: <374C20C3.3EE74EC5@de.oracle.com>

Rolland Cright wrote:
>
> Hi Folks,
>
> Here's the story. I have a database with images. I want to display the
> images in a web page. This is what I tried to date:
>
> htp.prn(utl_raw.cast_to_varchar2(image_col_name));
>
> All I get is ASCII code (GC%^8GHTL...) where the image should be. I store
> the images (.BMP, .GIF, etc) in a LONG RAW column.
>
> Any ideas/suggestions?
>
> Cheers.

--
Did you set the correct mime header?
e.g.
owa_util.mime_header('image/jpeg');

Regards
Stefan Batschkowitsch
Internet Products
Oracle Germany Received on Wed May 26 1999 - 11:26:43 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US