HTML Image not displaying, while the src url works -
<img class="sealimage" alt="image of seal" src="file:///c:/users/anna/pictures/nikon%20transfer/seals%20project/j3evn.jpg">
that doesn't display image, alt. if go to
file:///c:/users/anna/pictures/nikon%20transfer/seals%20project/j3evn.jpg
in browser, image displays.
i'm hosting on xampp, on windows machine right now.
i've tried different browsers, , , without %20 space, know correct way.(it worked both, actually)
and know images visible on machine that's hosting it, that's not problem.
your file needs located inside www directory. example, if you're using wamp server on windows, j3evn.jpg should located,
c:/wamp/www/img/j3evn.jpg
and can access in html via
<img class="sealimage" alt="image of seal" src="../img/j3evn.jpg">
look www, public_html, or html folder belonging web server. place files , resources inside folder.
hope helps!
Comments
Post a Comment