HTML - how to display local data in img tag?

后端 未结 1 937
情书的邮戳
情书的邮戳 2021-01-26 09:10

I have an editable div and a user can paste a picture copied from Office Word. After doing so an image-tag can be seen in the source code, but the path does not work anymore. If

1条回答
  •  旧巷少年郎
    2021-01-26 09:38

    You can't open local file in site without user interaction. Browser won't allow that, because it would be great security flaw.

    0 讨论(0)
提交回复
热议问题