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.