Skip to main content
Alistair FIeld
Expert ⭐️
Dec 16, 2024 11:46 AM UTC

Profile Picture Selector

Has anyone created a modal pop up that allows users to select their user profile picture from a selection.

Here is a mockup of what I would like to create. I have made it with HTML and CSS. So hoping I can get it to work in the community.

 

 

Any ideas you clever people!!

Thanks

​@tom.shaddock ​@olimarrio 

6 replies

revathimenon
Gainsight Community Lead
Dec 17, 2024 8:47 AM UTC

Following cause this is super interesting!

Translate
Where focus goes, energy flows.
Alistair FIeld
Expert ⭐️
Dec 18, 2024 5:15 PM UTC

i now have the API tested in Postman working.

 

 

now I need to connect the modal that can input the selected image url as the path parameter on an API call. 

 

Pleaseeee 

😁

Translate
The needs of the many, outweigh the needs of the few. 🖖
olimarrio
Gainsight Employee ⭐️
Gainsight Employee ⭐️
Jan 3, 2025 10:17 AM UTC

Hi ​@Alistair FIeld 👋,

This is a cool idea to encourage community members to add an avatar to their profile. I like the modal you created!

To connect these you’d need to create a script that, upon clicking the ‘Set Profile Picture’ button sends a POST request to the following endpoint https://api2-eu-west-1.insided.com/user/{id}/avatar/{value} which dynamically updates the ID by grabbing the User ID from the inSidedData Object and the value (the URL of the image) depending on the value of the avatar that has been checked. It would likely fall under our Professional Services if you want us to build this for you.

Let me know how you get on 👍

Translate
Alistair FIeld
Expert ⭐️
Jan 3, 2025 2:09 PM UTC

Hey ​@olimarrio good to hear from you. 👋🏼

I have created an zap that does it randomly on registration. I got Zapier access yesterday so immediately started testing. and came up with this..

 

 

So I know the endpoints work. 😊 and it could do as i wish. The next step would be to get the script and modal to allow users pick a specific avatar.

Translate
The needs of the many, outweigh the needs of the few. 🖖
JeppePeppe
Helper ⭐️⭐️
Jan 9, 2025 10:55 AM UTC

Great idea ​@Alistair FIeld! Would love this as well. Have you had any progress since last update?

Translate
tah-dah
Alistair FIeld
Expert ⭐️
Jan 9, 2025 6:51 PM UTC

​@JeppePeppe I have made myself content for now with the auto profile on registration.

I will park the selector option for now until I have a little more time to play with it.

Translate
The needs of the many, outweigh the needs of the few. 🖖