If I had to take a whack at this, I'd just send the HTTP headers back to make it looks like it's a JPG rather than a txt/html file. Then you have the code randomly select an image in a directory, open it, then send all the binary from the image to the client. (Or use GD to make your own, I guess.,..unless you want to be REALLY cool and put JPEG compression and stuff in your program  )
__________________
I'm a professional web developer. I'm good with PHP, Perl, Java/JSP, some RoR, XML, Javascript (AJAX as well), (x)HTML, CSS, etc.. Validated code is good; fully cross-browser code is better (you comply to your users and the software they use, not the other way around. Sorry!)
|