in reply to Re^2: CGI display a gif
in thread CGI display a gif

Then it's just
print "<IMG SRC='1.gif'>";