in reply to Problem with images

What exactly are you sending as the http header? For jpg's, it should be "Content-Type: image/jpeg\n\n". Case will matter. If you're using CGI.pm, header(-type=>'image/jpeg') should do. I've got a script that dynamically generates jpgs through Convert::UU; the above works for me.