Skip to main content

Profile Picture Selector

  • December 16, 2024
  • 6 replies
  • 71 views

Alistair FIeld
Forum|alt.badge.img+4

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
Forum|alt.badge.img+8
  • Gainsight Community Manager
  • December 17, 2024

Following cause this is super interesting!


Alistair FIeld
Forum|alt.badge.img+4
  • Author
  • 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 

😁


olimarrio
Forum|alt.badge.img+5
  • 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
Forum|alt.badge.img+4
  • Author
  • 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.


JeppePeppe
  • Helper ⭐️⭐️
  • January 9, 2025

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


Alistair FIeld
Forum|alt.badge.img+4
  • Author
  • 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.