0

I need to display something on plunker which is from my desktop for security reasons, I just want to take a screen shot and dispose of the image basically.

I am trying

<img src="file///C:/users/me/desktop/img1.jpg">

also tried without file///, is this possible with plunker?

gallly
  • 1,201
  • 4
  • 27
  • 45

1 Answers1

4

Put your HTML documents in the same folder as the image and change the img tag to something like <img src="img.png" alt="" />.

Or you could also add folders to the file path if it is stored deeper in the main folder ( or database ).

EDIT: For plunker use, it can't be done. It must be hosted online (such as a hosting service like imgur), otherwise there is no way the HTML can call it.

shaun
  • 1,017
  • 11
  • 22