matiasnegro Posted January 3, 2022 Share Posted January 3, 2022 Hello, My name is Matías and I'm from Argentina. I have this problem: everytime I try to make an HTML/CSS design and I use the structure: "<img src="/images/1.jpg>" (for example) the picture doesn't appear, even though the directory is correctly named. The folder "images" is inside the folder where the main page I'm working on is. I end up having to upload the pictures to an online server in order to work correctly everytime. It's quite annoying. Does anyone else have this problem? Link to comment Share on other sites More sharing options...
Ingolme Posted January 3, 2022 Share Posted January 3, 2022 It means that the path is wrong. I don't know how your filesystem is structured, so I can only guess what the path really should look like. Maybe this will work: <img src="images/1.jpg"> Starting a path with a "/" makes the path be relative to the root of the website, not the current folder. 1 Link to comment Share on other sites More sharing options...
matiasnegro Posted January 4, 2022 Author Share Posted January 4, 2022 Thanks! It worked! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now