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
Unsubscribed User
2,115 PointsPhoto does not appear.
Uploaded everything to the ftp, my index, contact, and about page has loaded. However, everything but my profile picture has appeared? The alt="" instead has taken it's place. Why would that happen? I transferred everything into the www.
Check it out http://dennispilat.xyz/about.html
FTP Photo: http://i.imgur.com/9s9OUmd.png
Image code: http://i.imgur.com/yAcHNac.png
2 Answers
Kris Henderson
3,315 PointsI'm actually a beginner at coding as well, so this may not be the issue, but I noticed in your code there is some capitalization issues. Your profile picture file name, according to your FTP is 'ProfilePicture.png'. But in the code you have 'profilePicture.png'
Try this:
<img src="Images/ProfilePicture.png" alt="Photograph of Dennis Pilat" class="profile-photo">
If that does not fix it, then I'm afraid I am stumped as well.
Marcel Rob
10,282 PointsThe name of the picture is slightly different , the picture in the folder is ProfilePicture.png with a capital p while in the src attribute you wrote profilePicture.png