How do i link a members image to something in a dataset?

I want to make a chat feature using Wix database and sets. I want the profile picture to connect to whoever is sending the message. Right now when i connect it uses the latest person added from the top of the dataset but i really want it to connect to the member who is sending it.

You need to use the useId of the member who is sending the message. How are you “connecting” to the member image? Share your code if any.