Bug fix: uploading picture now sends correct data to server.