SOS

I want to upload a picture with the file control in a form, and then display the result of the download in a container before I confirm or saving it.
the validation system must control the file size and extension (png, jpeg, …).
I can not make it for one week of research, because I am new DHTMLX

Try my attachment.
ImgUpl.zip (848 KB)