I want to display an image that is stored locally on my disk. I have tried this:
image.src = "file:/Users/user/Desktop/photo.png";
But I get the following error: "Not Allowed to Load Local Resources". I use Google Chrome on Mac.
I want to display an image that is stored locally on my disk. I have tried this:
image.src = "file:/Users/user/Desktop/photo.png";
But I get the following error: "Not Allowed to Load Local Resources". I use Google Chrome on Mac.