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 trialMichael Jasinski
7,427 PointsAdd my own profile photo?
Hi Everybody,
So I know how to add photos to the file and I have added a few of my own. When I add mine michael.jpg I can not get the photo to pull over. When I put nicks picture back in it works. My code is below on my about page.
<section> <img src="img/micahel.jpg" alt= "Photo of Michael Jasinski" class= "profile-photo"> <h3>About </h3>
2 Answers
Eric Buchmann
15,080 PointsThere is a spelling error and also some issues with the properties, try this:
<img src="img/michael.jpg" alt="Photo of Michael Jasinski" class="profile-photo">
Also, make sure you've uploaded the michael.jpg image to the img folder.
Flavio Carvalho
26,636 PointsHi Michael,
Is "micahel.jpg" spelled corretly? "michael.jpg" perhaps? And is the extension correct .jpg not .png or something else?
Check the path too, if the image is actually inside img/
See if that helps and let us know! :)
Michael Jasinski
7,427 PointsYeah so that is embarrassing!!! Cannot spell my own name.
That did the trick. Thank you for the help.
Flavio Carvalho
26,636 PointsHehehe, happens to all of us Michael... happens to all of us! Glad you find a fix.
Michael Jasinski
7,427 PointsMichael Jasinski
7,427 Pointsthank you. I can't spell my name. I should get some sleep.