@Sleepless-naShadow said in Images no longer showing in any browser after View Current File:
If I can rule out Notepad++ that’s a win
Create an HTML c:\path\to\ms-home\index.html file with MS notepad.exe, which just has a single embedded image ./images/abc.jpg (putting that image in the appropriate location, c:\path\to\ms-home\images\abc.jpg)
Open that file with browser X, and prove to yourself that it it can see the image properly on your local machine
Create an HTML c:\path\to\npp-home\index.html with Notepad++.exe, which just has a single embedded image ./images/abc.jpg (putting that image in the appropriate location, c:\path\to\npp-home\images\abc.jpg)
Open that file with browser X (using either View Current File or the browser’s local-file-open)
Notice that if the HTML is equivalent, and the relative paths are equivalent, then a file edited with Notepad++ behaves identically to a file edited with MS notepad.exe, thus ruling out Notepad++ as the culprit.
If “5” was true, find an HTML forum to help you with debugging your faulty HTML, or a forum that helps with using a browser correctly for viewing of local files, because here is not the right place; if “5” was false (I am quite certain it won’t be), include screenshots and pasting the raw HTML (using the </> button after pasting to make the HTML source text appear in a text box) proving it, so we can show you where things are different, again proving that the culprit is not Notepad++. Because it’s not.
So far, everything you have described (despite your assumptions) says that you have an HTML problem. Nothing specific to Notepad++ should change that HTML or the way that a browser interprets that HTML.
PS:
[image: 1669590589972-41acc8c6-ea69-4e62-b66b-f16d81fec54e-image.png]
[image: 1669590626077-d8002969-cad9-489f-943c-eb12a569b220-image.png]
<p>text before</p>
<img src="./images/abc.jpg">
<p>text after</p>
[image: 1669590649822-dd29bdb1-3389-4816-8ac3-d36f0dcdc256-image.png]
<p>text</p>
<img src="./images/abc.jpg">
<p>after</p>