upload picture in view implemented