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 trial

Jason Nelson
6,209 PointsStructure and Image gallery question
I'm reviewed peoples similar problems with this section. After I got past the workspace issue, for some reason im using code:
For some reason code doesn't show ...argh!
<a=href="img/numbers-01".jpg"> <img src="img/numbers-01.jpg" alt=""> <p>This is an example of my new artwork.</p> </a> I'm pretty sure this is the correct code, once I click the larger image of this particular image I get 404 Not Found (http://web.zwd94gpffg.treehouse-app.com/img/numbers-01)?? What am I doing wrong, is this a windows 7 thing? It's not finding the file when It's clearly shown in my workspace img folder.
6 Answers

Tim Knight
28,888 PointsJason,
I'm going to take a guess here since I can't actually since your Workspace but your image should have an extension on the file name if numbers-01 is in fact the name of your image. Might it be numbers-01.jpg? numbers-01.png?

Jason Nelson
6,209 PointsIt's numbers-01.jpg but when I look into the properties the file is jpeg not sure if that matters.

Tim Knight
28,888 PointsIt definitely matters. Make sure that you're pointing to the full filename... so you'd want to use http://web.zwd94gpffg.treehouse-app.com/img/numbers-01.jpeg

Jason Nelson
6,209 PointsI have to check it out when I get home. Not sure why all files in the img folder are jpg, bbut when I look at the property of the file it's jpeg. This is directly from the download off the site. Is my computer changing the file?

Tim Knight
28,888 PointsOh okay, I miss understood you. Yes, if you're viewing the properties of a file you'll likely see JPEG instead of JPG even if the extension is JPG If you're on Mac this would be listed as "Kind: JPEG" and it's normal. Both extensions are valid for the image, so it's important that you're just linking to the correct extension.

Jason Nelson
6,209 PointsI'm still in the same boat as before, my img folder is in document folder. When I click on the img from my webpage I'm getting webpage not found.
file:///C:/Users/user/Documents/img/numbers-01
I can't figure out what's going on. Everything is where its suppossed to be. Could win7 be blocking the path?