Photo gallery system

I am looking for a system that I could take someone photo and give them a card with a photo number. They could come to my site and type the number and get their photo. Is there anything out there like that?
Thanks,
Jay