Jump to content

Calling Image From Directory


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 post
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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...