'Live Server extension in VS Code not loading an external image

I have a simple img in my HTML with a link to an image inside it and it won't load using my live server but it works fine when I run the HTML file locally. My external CSS and JS files load just fine.

<img src="https://i.imgur.com/UhE3TDY.png">


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source