I was wondering if there was any functionality exposed which allows us to update the users avatar programmatically?
Specifically, I've got my own html5 image capture set up, and I want to send it to easysocial via AJAX. Currently I'm sending the data to my components controller and then trying to use createAvatarFromFile() within the controller but its NG.
Can anybody provide guidance on the best way to achieve this?