Preview image upload before uploading

How to show image preview to photo template ?
I don’t want upload image instantly and all form input except after clicking “Process to Server” button.

this is my code :

https://snippet.webix.com/amjhuqif

protoUI photo was taken from doctor-appointment demo. I take this for reading image link from database after uploding the form.

Thx for answer

https://snippet.webix.com/03lv81of

thx @integral you are very helpful. :wink: