function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Uploading chatter profile photo from Site

I am trying to upload Chatter profile photo from site.I have gone through below URL.But still I am not getting how to achieve this.
Please provide some code snippet or suggestions how to achieve this.

Marty C.Marty C.
Hello, Arabinda, my reply is late, but in case you still haven't gotten an answer yet, I've posted some sample code to Gist for a custom CommunityUserPhotoUpload component ( This component uses the ConnectApi.ChatterUsers.setPhoto(String, String, ConnectApi.BinaryInput) ( method to update a user's profile photo.