BDN-extend-Media-Credit is a project mainly written in PHP, it's free.
Extend Media Credit to automagically bring in the photo credit.