#!/usr/bin/perl use strict; use CGI; my $cgi = new CGI; my $image = $cgi->param('image'); print "Content-type: text/html\n\n"; print "$image\n"; print "\n"; print "
\n"; print "

\n"; #The path here would obviously be different according to where your images are at print "

\n"; print "\n"; print "\n";