I wrote up a bit of code for Sooz|http://www.sooz.com/ so that she could display random flickr|http://flickr.com/ photos on her page. I thought other folks might be interested in this, so here’s the link to the source:
random flickr photos|http://prwdot.org/random_flickr_photos.phps
The script uses MagpieRSS|http://magpierss.sourceforge.net/ and some PHP functions to grab a flickr feed, randomly select some photos, and display them. It should be fairly straightforward if you want to customize it for your site.