Morgan Ng Morgan Ng - 2 months ago 24
HTML Question

HTML image net::ERR_FILE_NOT_FOUND

i am using html image like this

HTML :

<div class="home" style="background: #f2f2f2;">
<div class="pr_blank"></div>
<!-- <div id="now" class="show"> -->
<div class="ptgamebox">

<img src="../../images/ges.jpg" / ">
<!-- <em class="game_ro3d"></em> -->
<div class="game-name">test</div>
</div>



</div>
</div>


My images are in a folder like this D:\APP\images\pt\ges.jpg
enter image description here

Loaded Page Image :

enter image description here

now when i see in browser this image is being loaded but in console it shows error like this

file:///images/ges.jpg net::ERR_FILE_NOT_FOUND


Will someone help me whats wrong with it ?

Answer

Try this:

<img src="APP/images/pt/ges.jpg">

If this won't work,

change it like this:

<img src="images/ges.jpg"> or <img src="images/pt/ges.jpg">

Hope it helps.

Comments