saving image normally on correct folder but img file name is null in db