inflate_photo_rows