title: Set user avatar from front end in wordpress
body: <p>I am working on user registration page. When user upload the image then I attached that image in user meta by <code>attachment id</code>, now when user add the comment then his uploaded photo is not appearing in comment list beside his comment. After some search I got some information in avatar...but cant get any idea about how to upload avatar from front side?</p>