Fix incorrect method name.

The method for uploading images as a multipart form was outdated.