Load image from device and put in texture

Hello im trying to do something like this https://glitch.com/~read-image-file

here is my project https://playcanvas.com/editor/scene/1139809 but the html code don’t work maybe is because the code inside in the html don’t execute? maybe?..

i need to upload an image from the device selected and put in a texture. could help me? I’m new in playcanvas and don’t know how do this. thanks