postPicture mime type bug fix