add way to post image data via the api.