add photo field to Resource