#!/usr/bin/perl use CGI img; print img{src =>"blah.gif", #or whatever the path is... height=>"400", #or whatever the height is.. width=>"200", #or whatever the width is... border=>"0", #or whatever you want your border to be... };