Upload and crop profile photo in frontend
This is a very old question, but thanks to this example I was able to build quickly a profile picture form using Craft 3 and jQuery File Upload plugin (thank you!).

The action value and file input name have changed. You should write it like this now:

&lt;input type="hidden" name="action" value="users/save-user"&gt;
&lt;input id="image-upload" type="file" name="photo" style="display: none;"&gt;