Jump to content

Calling Image From Directory


Darkness

Recommended Posts

<img src="filepath/filename.ext">

Perhaps you have the extra slash before the path and it is causing the error? I just thought you used /... to move up folders, or you just used the folder/filename.jpg style to go deeper into the folders or just the file name itself it if it is in the same folder? Very new to HTML so please don't take me too seriously I am trying to learn by trying to solve others issues as if I had the issue myself.System

Link to comment
Share on other sites

Either the path is wrong, the file does not exist (same thing really), or the browser cannot display the file type. If it is a valid image file, and the path is correct, the browser will display it. If you know it is a valid image file and it is not being displayed, then the path is not correct.

Link to comment
Share on other sites

The browser you're using might have some sort of setting limiting local content or something like that, but other then that if the image was there the browser would show it, it's just not a very complex issue. Try the absolute path instead of a relative path.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...