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
Tianah Rose
974 PointsHTML and Images
For the beginners HTML course in the image section: I'm doing exactly as the video instructs and my image isn't showing up. Just a little default picture of a mountain shows up. Could it be the settings on my web browser? Please help. Thank you!
4 Answers
James Barnett
39,199 PointsThe 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 tutorial on file paths that should get you going.
Let us know how you are getting along with this here in this thread.
Graham Davidson
Courses Plus Student 14,966 PointsHi Tianah
Can you copy and past your code in here so I can see if I can be of any help.
Thanks
G
Wayne Priestley
19,579 PointsJust to make anybody who is using a Mac and has TextExpander installed.
If you are having problems with img file paths etc, it may be that TextExpander is capitalising the first letter in img or whichever path you seem to be having a problem with.
You can set TextExpander to ignore certain applications for example your code editor of choice. Go to TextExpander SYSTEM PREFERENCES / EXPANSION and set (Default is to expand snippet groups in) Then choose ALL APPLICATIONS, EXCEPT and check the box next to your preferred code editor.
Also, this being the most important, go to OPTIONS which is the next tab to EXPANSION, and if you have CAPITALISE NEW SENTENCES checked be sure to once again choose ALL APPLICATIONS, EXCEPT and check the box next to your preferred code editor.
I've been caught out by this so I'm sure someone else maybe.
James Barnett
39,199 PointsWayne Priestley - Thanks for the tip!
Tianah Rose
974 PointsI figured out the problem I was having with embedding images but now I am having a difficult time embedding video.