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

can't view images from project

I can't see the images when uploaded to the html, the images come up as blank canvases within the web page

2 Answers

If you're not seeing the pictures when viewing your HTML page through your browser, make sure the folder of your images are in the same location as your html page.

Mywebsite (folder)
    +index.html
    +img (folder)

If thats not the case, look at your html code and find the img src path. if the path says

<img src="somepic.jpg">

than the pic file should be in the same location as the html file.

if the path is something like this

<img src="img/somepic.jpg">

than the pic file should be in a folder named img found in the same location as the html file.

thanks for the help!

np good luck!