Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: OAS AND STORED IMAGES
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
![]() |
![]() |