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
cian lynam
2,435 Pointsphotos on a website
When I try to make a website my photos don't come up and i type in what they said in the videos. Help me please tell me what i'm doing wrong.Thanks
13 Answers
James Barnett
39,199 PointsCheck out this blog post on the Treehouse blog on how to fix a broken image.
Alex Cawley
9,291 PointsIt would help to see your current html to pinpont the problem but I'm just going to take a guess as to what it is,
The most common mistake I make when adding photos is making the path wrong. Make sure your src attribute leads exactly to your photo. Example:
<img src="img/bg.png" alt="...">
This leads to a picture named bg.png in the img folder.
cian lynam
2,435 PointsThats the thing Ive done that and i checked many times its right but the photos still are not coming up.
George S-T
6,624 PointsCan you put all your files onto dropbox or uppit so we can take a look?
cian lynam
2,435 PointsIve never used dropbox or uppit is it like skydrive?
George S-T
6,624 Pointssearch uppit on google :)
cian lynam
2,435 Pointsim on it what should i do
George S-T
6,624 PointsUpload the folder of files your working with.
cian lynam
2,435 Pointsok i did that with one of the photos
George S-T
6,624 PointsPlease put your html file and your img folder into a folder, then upload that folder and give me the link to download it.
cian lynam
2,435 Pointsit just says i can only upload 1 file at a time
cian lynam
2,435 Pointsand by the way im windows and the guy in the video is mac so i dont know if that makes a difference
cian lynam
2,435 PointsThank you so much it worked!