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 trialsteven coto
356 PointsMy images are appearing on my website
I tried everything but Chrome to make my images appear, http://port-80-thoveknf3o.treehouse-app.com/, not sure if i have overlooked something?
8 Answers
Wesley Githens
11,956 PointsYeah, maybe try downloading the images again. It's been a month or two since I've done this one, but I'm pretty sure they're in a zip file that needs to be extracted. Also, pay close attention to where those files are located. It seems to be a common mistake to overlook telling the browser where the files are. On the left side of the screen in workspaces there should be a down arrow with a folder next to "img", otherwise you may have accidentally put them thin the root directory. If so, there is two ways you can fix this. You can create a folder by right clicking on the file area and moving those files (click-hold and drag) to that folder, or change your <img src=""> by removing the sub-directory "img/".
Eivind Jonassen
5,994 PointsYou have to paste the code here for us to be able to see it. Your workspace is private :) Check the markdown cheatsheet at the bottom of this page to see how to add code properly.
steven coto
356 Points'''<!Doctype html> <html>
<head> <meta charset="utf-8"> <title>Steve's new website</title> </head>
<body> <header> <a href="index.html"> <h1>Steven Pereira</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="practice.html">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <section> <ul> <li> <a href="img/_numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> <p>Experimentation with color and texture.</p> </a> </li> <li> <a href="img/numbers-02.jpg"> <img src="img/numbers-02.jpg" alt=""> <p>playing with blending modes in photoshop.</p> </a> </li> <li> <a href="img/numbers-06.jpg"> <img src="img/numbers-06.jpg" alt=""> <p>Trying to creat an 80's style of glows.</p> </a> </li> <li> <a href="img/numbers-09.jpg"> <img src="img/numbers-09.jpg" alt=""> <p>Drips created using photoshop brushes.</p> </a> </li> <li> <a href="img/numbers-12.jpg"> <img src="img/numbers-12.jpg" alt=""> <p>Creating shapes using repetition.</p> </a> </li> </ul> </section> <footer> <p>© 2015 Steven Pereira</p> </footer> </body> </html> '''
steven coto
356 PointsThanks Eivind, hope that helps
Wesley Githens
11,956 PointsYou might need to download the "img" folder. You also have and underscore at the beginning of your "numbers-01.jpg" file in your first anchor tag.
steven coto
356 PointsWesley,
I believe i downloaded the img folder, the contents inside start with and underscore, like; "._numbers-01.jpg", so i had to test this out, but no success. You think i should download the folder and repeat the steps again?
Eivind Jonassen
5,994 PointsFor your src, try:
<img src="..img/filename.jpg">
And see if that helps. (Add two periods before the image folder name.)
steven coto
356 PointsI had download and upload the files again, i used winrar to unzip the folder i feel like it created an error and gave me file names that start with an underscore for some reason...problem solved now the files read same as in the tutorial, thanks guys