create PhotoRecord object