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 Sharing a Website Upload the Website

THOMAS PRETE
THOMAS PRETE
7,009 Points

Why is my portrait photo not showing up/broken after I publish my website?

I've uploaded everything correctly but the only photo that's not showing up is my portrait photo on my about page. I've changed the photo and uploaded it to the server and it still doesn't work. The photo's are .png. Everything else works though and all other photos show up. I checked the page source and the path is correct but when I click on the photo link in the page source it says "Not Found" but it's on the server in the correct folder.

Any help would be appreciated.

Thank you,

2 Answers

Bogdan Cabaj
Bogdan Cabaj
16,349 Points

In chrome inspect the portrait photo path...

Anthony Domina
PLUS
Anthony Domina
Courses Plus Student 19,571 Points

I had this issue today and my pictures did not show. Since the pictures were the only thing not showing as the rest of the headers, borders, text, CSS, was working I could narrow the problem down to the pictures. After troubleshooting I discovered that all my pictures ended with .JPG in uppercase letters. Once I renamed the pictures and ended them with .jpg in lowercase everything showed beautifully.