Darkness Posted June 11, 2007 Share Posted June 11, 2007 Hello,When I try to call an Image from a directory, the image doesn't appear. This is what I've been trying. <IMG SRC="/IMG/Image.png"> Is there a way to do this with getting an error image?Thanks.-Resolved- Link to comment Share on other sites More sharing options...
croatiankid Posted June 11, 2007 Share Posted June 11, 2007 yes... you can either specify the correct url (using /../ to go up a level), or by using the BASE tag. Link to comment Share on other sites More sharing options...
Darkness Posted June 11, 2007 Author Share Posted June 11, 2007 Could you explain, please? Link to comment Share on other sites More sharing options...
System Posted June 11, 2007 Share Posted June 11, 2007 <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 More sharing options...
Darkness Posted June 11, 2007 Author Share Posted June 11, 2007 Hmm, nope. It wasn't that. >_< It just seems to make an image error everytime... Link to comment Share on other sites More sharing options...
System Posted June 11, 2007 Share Posted June 11, 2007 Perhaps the browser doesn't support that file type or it is just the wrong path? Try loading a different image in the same spot? Sorry I am out of ideas.System Link to comment Share on other sites More sharing options...
justsomeguy Posted June 11, 2007 Share Posted June 11, 2007 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 More sharing options...
System Posted June 11, 2007 Share Posted June 11, 2007 Omg.. ConTEXT spokesman, I was right? (yes, I have read how much you like ConTEXT lol)System Link to comment Share on other sites More sharing options...
Darkness Posted June 11, 2007 Author Share Posted June 11, 2007 I know it's the right path, and that the image file is valid. I'm 100% sure. Link to comment Share on other sites More sharing options...
justsomeguy Posted June 11, 2007 Share Posted June 11, 2007 If it was the right path, and the image was valid, then the browser would display it. It just seems to make an image error everytime...What do you mean by it "makes an image error"? Link to comment Share on other sites More sharing options...
Darkness Posted June 12, 2007 Author Share Posted June 12, 2007 Well, it doesn't. That's why I posted here.A broken image. Link to comment Share on other sites More sharing options...
justsomeguy Posted June 12, 2007 Share Posted June 12, 2007 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 More sharing options...
Darkness Posted June 12, 2007 Author Share Posted June 12, 2007 I just found out, it's likely my host. Funpic. It supposedly doesn't allow you to do this. I'll edit this if I have any further issues. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.