+ 1
how To insert images in html if image file is present in your system or pc in locations other than that of html file ?
Suppose your html file is on the desktop ,and image file is in the c drive of your computer then?
4 odpowiedzi
+ 4
Just give the full path of your image.
like c://image/abc.jpg
+ 3
Dhyey Patel Just go to image file location and click on the search bar. Copy the full path and paste in your Code.
You can do like this also.
https://www.google.com/amp/s/www.pcworld.com/article/251406/windows-tips-copy-a-file-path-show-or-hide-extensions.amp.html
+ 1
AJ #Level 20 End Day ,i tried it but for some reason it didn't work for me,but still thanks for trying to help me out
0
Your file system cannot be accessed from outside... even by a web page (until the page is in your file system): that's a security requirement ^^
The only way to let external web pages having access to your file system is to configure a server, and open internet doors wich could be unsufe if bad handled...
It's very much advised to use internet providers / hosting services to upload only the files you want to be more or less public (but accessible trough internet address -- url) and let them handling the security and maintenance of server until you have specific needs and you know what you do ;)