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

HTML HTML Basics Images, Text and Links Captioning Images

Why am I having to add an extra level to my file path even though my file structure is the same as the video?

I can ony get the images to render in the browser by adding an extra level to the file paths. For example: my markup looks like this -

<img src="../../../img/vr-user.jpg" alt="man wearing vr headset" title="blah blah blah">

whereas the video shows the file path as ../../img/vr-user.jpg.

My images are in the img folder which is in the HTML Basics root directory and the article I am linking them to is in the 2017 folder which is located in the articles folder.

Thank you, in advance for any help you can give.

I am having the same issue too. I have to put extra level to the file path to make the article page to show up. I have put the same markup looks as you(<img src="../../../img/vr-user.jpg" alt="man....>). I can't put the file path in the video even though I have everything the same as the video (../../img/vr-user.jpg) . I think there is some issue with Tree House's side.

1 Answer

Travis Alstrand
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Travis Alstrand
Treehouse Teacher

I and many others haven't encountered this issue, maybe some files were accidentally moved around, but if anyone else experiences this issue, please start a new thread. Thanks!