Implementing photo parser.