in reply to How to get Dynamic Images on the Screen

A common way to provide dynamic images is to write a script that will output a png|jpg and then place that in an image tag: <img src="example_img_generator.pl">.
Be sure to binmode STDOUT if you're on windows (and it doesn't impact anything if you're on a different os) and to print out the appropriate content type header (and any other http header you may require and you should be good to go.