What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

Restricted directory name

kramster

New member
I was trying to display an image whic was in a different directory to the script. The troublesome code snippet was <img src="sponsors/image.jpg"> and the image would not display. I tried all manner of things for 6 hours until I finally found the problem. It was the name of the directory "sponsors". As soon as I renamed it (here to "sponsorslogo" giving <img src="sponsorslogo/image.jpg">) everything worked. Can anyone tell me why I could not use the name "sponsors" for a directory?

Note: this has nothing to do with permissions - all were consistent.
 
Back
Top