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 How to Make a Website Adding Pages to a Website Add a New Page

profile photo not supported

I tried to upload my profile photo, but for some reason, the photo could not upload

3 Answers

Cory Harkins
Cory Harkins
16,500 Points
  1. Ensure that your photo is within the img folder.
  2. Inside your .css file, be sure to have a width/height for your photo.

thank you

Cory Harkins
Cory Harkins
16,500 Points

Can you post your code for context?

<img src="img/Roberto.jpg" alt="photograph of roberto" class="profile-photo"> hope you can help me. Thanks

Cory Harkins
Cory Harkins
16,500 Points
  1. Before trying to view the preview, ensure that you have saved, both the .html file AND the .css file.