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

Trouble with uploading image

I'm currently working through the 'beginner-build a simple website' project. I've downloaded the project files which include the images but the images won't load into the webpage.

I have the correct file address (or at least think i do) written into the html but nothing appears on teh page.

What simple mistake could I be making?

Thanks

3 Answers

James Barnett
James Barnett
39,199 Points

@Steve - The 2 most common mistakes when images are not showing up are a typo with the file names or using the wrong file path.

So triple check that you are using the exact name of the image files in your HTML, if that doesn't resolve the issue, check the file paths.

Here's a quick primer on file paths that should get you going.

Let us know how you are getting along with this here in this thread.

James, thank you for your help. It was the file path that I messed up. What can I say, it was a VERY rookie mistake. I'll learn from that.

James Barnett
James Barnett
39,199 Points

@Steve - You are very welcome.

Using the names & paths are a common mistake even among experienced folks, it's at the top of the list entitled Start with the obvious stuff first.