Firefox doesn't show images from a local file path

前端 未结 5 636
醉话见心
醉话见心 2020-12-22 06:01

I have used tag in html for displaying images. The image gets displayed in Internet Explorer 10, but it is not visible in mozilla, chrome. Could som

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-22 07:07

    The tag is standard across all browsers (except text-based browsers like Lyx). That should work, however given that it is a local path it may be that you are testing it in a different environment that can't access that path?

    Review this wikipedia page on the file URI scheme and it will also highlight that some browser will limit access to local files for security reasons.

提交回复
热议问题