+ 2
Image Location in HTML Basic
I quote one of the top commenters in this session: "To insert images present in your system or pc in locations other than that of html file..." Is it possible? Please explain, if I am offline or turned off - how is it possible that another person could see the selected image on my website, unless it is not saved somewhere in a cloud?
2 Answers
+ 1
It's not possible.
Your browser will sent a request to your image location.
If your image path is something like this "C:\Users\user\Pictures\picture.png".
The request will be sent here "file:///C:/Users/user/Pictures/picture.png" because that's how you access your files in the browser as localhost.
Other users can't access it because it doesn't have hypertext transfer protocol (http).
It's no-referrer-when-downgrade error
All files must be inside your web root
0
Thank you for your answer!