There certainly is... all you need to do is put a link to the "image" into your html, e.g. <img src="random.pl" height="100" width="100" />. What I did on one of my servers is actually to tell Apache that all the *.png-files in a certain directory are to be handled as perl-scripts, so the user on the other end thinks s/he's getting real *.png images.
Both methods in this post require your script to print "content-type: image/png\n\n"; before the actual image.
Hope that helps
BrotherAde
|