You can add a field to your mysql table to hold the link and then use plogger to display that field. So each photo would need you to populate the link. Alternatively what I do is I populate the EXIF header of the photo with the weblink in an EXIF field, say comment, and then use EXIFER in plogger to injest the information from each picture. To populate the photo EXIF header I use EXIFutils. I think creating a new field would be your easiest way but would require more manual effort.