Fix new/edit picture.