Added uploadSettings parameter (upload path, image resize width, image resize height).