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

photos 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

Check out this blog post on the Treehouse blog on how to fix a broken image.

It 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.

Thats the thing Ive done that and i checked many times its right but the photos still are not coming up.

Can you put all your files onto dropbox or uppit so we can take a look?

Ive never used dropbox or uppit is it like skydrive?

search uppit on google :)

im on it what should i do

Upload the folder of files your working with.

ok i did that with one of the photos

Please put your html file and your img folder into a folder, then upload that folder and give me the link to download it.

it just says i can only upload 1 file at a time

and by the way im windows and the guy in the video is mac so i dont know if that makes a difference

Thank you so much it worked!