Skip to main content
Alistair FIeld
Expert ⭐️
December 16, 2024

Profile Picture Selector

  • December 16, 2024
  • 6 replies
  • 107 views

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 Manager
December 17, 2024

Following cause this is super interesting!

Where focus goes, energy flows.
Alistair FIeld
Expert ⭐️
December 18, 2024

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 

😁

The needs of the many, outweigh the needs of the few. 🖖
olimarrio
Gainsight Employee ⭐️
Gainsight Employee ⭐️
January 3, 2025

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 👍

Alistair FIeld
Expert ⭐️
January 3, 2025

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.

The needs of the many, outweigh the needs of the few. 🖖
JeppePeppe
Helper ⭐️⭐️
January 9, 2025

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

tah-dah
Alistair FIeld
Expert ⭐️
January 9, 2025

@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.

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