Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRich Braymiller
7,119 PointsPictures not showing up
this was already addressed in the forum but no one really gave an exact answer...
Images with show up in the check code portion but will NOT show up in the workspace. Never has. This is extemely frustrating......
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Nick Pettit</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="main.css"> <style> footer { color:green; background-color:orange; }
</style>
</head> <body> <header> <a href="index.html"> <h1>Nick Pettit</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <ul> <li> <img src="img/numbers-01.jpg" alt=""> </li> <li> <img src="img/numbers-02.jpg" alt=""> </li> <li> <img src="img/numbers-06.jpg" alt=""> </li> </ul> </section> <footer> <a href="http://facebook.com"></a><img src="img/facebook-wrap.png" alt="me"> <a href="http://twitter.com"></a><img src="img/twitter-wrap.png" alt="me"> <p>Ā© 2013 Nick Pettit.</p> </footer> </div> </body> </html>
5 Answers
Sandro Meschiari
18,418 Pointscreate a folder call img and put the picture inside it should work
Sandro Meschiari
18,418 Pointsall of the images are not showing up?
Rich Braymiller
7,119 Pointsfirst I don't even know what file I would use? Second, when I dragged the photo's after I unzipped them to the workspace, shouldn't that suffice?
I really don't have a clue what path I would use...pretty sure I followed directions, perhaps not. Pretty difficult to write code and not know if you are doing it correctly.
Salman Akram
Courses Plus Student 40,065 PointsHi Rich,
Maybe the images are in the different folders path, we can try another way back to file ( ../ )
Test it, see below.
"../img/numbers-01.jpg"
Rich Braymiller
7,119 PointsI did that in the very beginning as told to do so via the video tutorial. What I did was delete the img folder and then made a new img folder and re-added the images. It works now. Thanks for trying to help, I appreciate it.