Upload Chatter Profile Picture Using Visualforce Page

Sample Code:

<apex:page>
  <apex:form >
  	<chatter:userPhotoUpload showOriginalPhoto="true" />       
  </apex:form>
</apex:page>