in reply to Sending an image to a browser

Hello, i think if use object-oriented style of CGI, then you must be creating a CGI object using  my $q = new CGI(); print $q->header(); print $q->start_html(); etc... Once you do that, you can use  print $q->img( { -src => "filename"} ); to print an image.

Replies are listed 'Best First'.
Re^2: Sending an image to a browser
by chas (Priest) on Apr 19, 2005 at 11:14 UTC
    But then, using "view source" in the browser, one will see the link to the image, which is what the OP wished to avoid, I believe.
    chas