add picture validation