How to preview an uploaded image?

How to preview an uploaded image?

Hi.
I have an application where I am developing a registration registration system in an online school. To do this, I developed a model where I collect the data of those registered. One of the data that is registered is the photo of the registered person that can be uploaded using a FileUpload.
I would like to show a preview of the uploaded image so that the registered have more information about the uploaded file.
Could you help me solve this problem?