How can I connect the user profile picture to the correct profile pic in the collection?

Hi there,
I am trying to make a user profile page, but the user profile image doesn’t work correctly.
It seems to always take the profile picture of the first row in the collection.
My question is, how can I replace an image to the correct image in the collection with a given username & password of the row that holds the required image.

Thanks in advance!

Wix already do that tutorial.
https://support.wix.com/en/article/corvid-tutorial-building-your-own-members-area

I read the tutorial and it seems they don’t say nothing about how to change the profile picture according to the logged user.

Yes that is because that is just for a basis to work off of. You can add anything you want to be on the Members profile page that you want them to be able to see and edit.

So whatever you want the member to have on their profile page, you simply create the fields for in your Members dataset and the user inputs on the page itself, you don’t have to stick with whatever is on the tutorial, that is just there for example.

Like myself, if you want the member to have a profile pic displayed then just add a image box in whatever design you would like and connect it to your image field in your Member dataset.

Then on the Member’s profile edit page, simply have a upload button, which I just used the standard upload button from Wix and changed it to match my design and link this again to the image field in your Member’s dataset.

Then the member can simply upload a new pic when they first view their profile page, or they can upload a new one along with changing any other user inputs that you have on that update profile page.

When they click on update or whatever you have called your submit button, all the changed user inputs will be saved into your Member dataset and the member will be taken back to their profile page which will then show any changes that have been made.

Apologies if I wasn’t clearer in my first reply, however hopes this makes it much easier to understand now.

Finally, just note that the picture that is displayed here is not the same picture that is displayed in the Wix Members app section, although it can be if the member chooses to upload the same picture into both.

The Wix Members app picture that is used there is the same picture that is used in other parts of the Wix Community which is the Wix Blog and the Wix Forum if you have used them on your website.

Thanks a lot man! I will go over the tutorial and will try to do it like they explain

GGYI