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 get image file to show up.

Can't get image file to show up in "img src"... I typed in <img src=img /logo.gif alt="Smells like Bakin"> and it shows a broken image when I refresh the page o google chrome

4 Answers

Find the right url, and check the file, check if is on one folder example, if the file is in the image folder: src="image/name.png"

The image file need to be on the same folder whit index.html or one sub-folder on the same directory.

Good luck

this worked... i had to save the 'index.html file inside the downloaded folder.

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 the file name and path.

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

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

James Barnett The link to the tutorial on file paths you listed is not functioning is the another way to access this info? Thank you

Thanks for letting me know, I fixed the link.

Oh thank you so much James Barnett I will for sure check it out an watch it :)