This is interesting indeed. Please upload to CVS or send the tarball my way ;).
As for the photo album integration you should know that you can give the photo id to the random-photo script which comes with photo album, so there is not necessarily a need for the foto tag, but for sure I'm interested.