0

Note, I'm using live-server extension; and this works normally but, with live-server extension not.

I'm just created new project folder and normally created index.html. And added default content:

index.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Home</title>
</head>
<body>
    <header>
        <a href="/www.fusionflow.com/client/">
            <img src="./img/svg/logo.svg" alt="logo" class="logo">
        </a>
    </header>
</body>
</html>

And ./img/svg/logo.svg see here.

After these steps test in browser(Firefox 116.0.3 (64-bit)) normally and after this image not loaded, when I inspect page and browser says couldn't load image.

I tried open my SVG image with online tool or save with it to fix issues, it opened/save and replace my SVG with new SVG file. But, same it not opening in browser.

Just I want say the live-server not working for me now(one week ago it working properly), and did someone know how to fix that?

1 Answers1

0

Remove the dot in your image source.

<img src="/img/svg/logo.svg" alt="logo" class="logo">