generate photo data
constant added for the photo file count
read photo and handsoff photo from db
simple json added
person data added