Image on WEB

From: Erika Grondzakova <grondzakx_at_fria.utc.sk>
Date: Mon, 20 Jul 1998 15:21:30 +0200
Message-ID: <35B3445A.4035_at_fria.utc.sk>



Hi,

[Quoted] I have a table with the image row (datatype LONG RAW).

  • How could I insert image data into this table from some file?
  • How could I view image data on Web ?

I have tried :

procedure my_selection

      is 
	photo long raw;
begin 
      select a.photo into photo from photo_table where id
='5208111330';    
      htp.htmlOpen; 
      htp.headOpen; 
      htp.meta('Content-Type','xxx','image/jpg; charset=windows-1250');
      htp.headClose; 
      htp.bodyOpen; 
      htp.nl;   
      htp.img(photo);
      htp.bodyClose; 
      htp.htmlClose; 

end;

Thank you,

							Erika
							grondzak_at_fria.utc.sk
Received on Mon Jul 20 1998 - 15:21:30 CEST

Original text of this message