I know that there is a specific upload button for files and that the file type for the button can be set to Images. What I would like to do, is to implement the ability for a member to upload a profile picture, as well as a header picture, without either function making use of the pre-built iframe which is the default Member Profile card or widget.
(side note: reason being, we want to avoid any use of that pre-made Member Profile element, so that we can manually handle a user updating their Nickname while only allowing unique Nicknames)
So, do the Upload buttons allow for updating the profile photo stored in PrivateMembersData? I know that it is possible to update that collection using the wix-users-backend API because I have done this for the nickname, but that is just a string and doesn’t require a special kind of button.
Also, where is a member’s chosen header image stored in the database collections? It does not appear to be in PrivateMembersData where the profile photo can be found.
tl;dr How can we DIY the ability for members to upload/change their profile pic and to similarly upload/change their header image, but without using the Member Profile iframe that also lets them use non-unique names?