Why some images and svg are not showing up on my page

I don’t understand why some images and SVG is not loading on the page. I have image which I want to replace with another image that’s in the same location but its not loading. I have checked the file path and file type everything is ok. It outputs the alt attribute but not the image itself. The image is shown as broken or corrupted.
it displays this image.

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

but its doesnt display this image only shows the alt attribute. its in the same location.
<img src="img/logo1.png" alt="logo" class="logo">

3 posts were merged into an existing topic: Image and svg not loading on page