I have a box that contains an upload button and a repeater with 3 options (uploaded pics by the user) for the user to either upload or select a new pic and update his/her profile pic. Also, I have a Save button to close the box and submit the change.
When the user clicks the upload button and selects an image, I would like the user to see the uploaded image placed in the first element of the repeater and at the same time the profile pic behind the box updated with this new pic, then the user clicks save.
To update by selecting a pic already uploaded, I have the same situation, I would like the user to select an image from the repeater and click save and update the profile.
I think my problem is that I don't know how to call an element inside a repeater.