I’m using visual Studio Code and using live Server to see what it looks like as I’m coding.
Here’s the dilemma I’m having.
So from what I found on the net. This line should point to the specific image location.
When I run my html directly from the browser, no matter which i use firefox, chrome or brave. It opens normally but when I try to use the live server in visual studio code my picture doesn’t show up. Do you have any clue why?
Here is my line of code that does not show up when I use a live server addon but shows up when I open HTML directly in my default browser.
<p>
<img src="file:///Q:\Moje Obrazy\AI portraits\Sailor Moon\baroque_sailor_jupiter_ver__2_by_bashfulglowfly_dgofahd-pre.jpg" alt=" Barokowa Sailor Jupiter" width="894" height="894">
</p>
I wonder why it doesn’t work if I put the direct path to it in my file using a live server.
Seweryn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.