Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

broken images in subdirectory

Solved! Go to Solution.

I have a "projects" subdirectory in the root of my github pages directory where individual projects live in their own subdirectories. These projects reference images that live in an images folder that is adjacent to the index.html file of each project, but images in that folder do not load on those pages. 

 

For example, none of the images on this page load: https://johndhancock.github.io/projects/every-shot-dirk-ever-took/

 

Folder structure is roughly: 

-index.html

-projects

--every-shot-dirk-ever-took

---index.html

---images

----image.jpg

 

 

Any suggestions ?

2 Replies
Solution
Copilot Lvl 2
Message 2 of 3

Re: broken images in subdirectory

Figured this out. Images started with a preceding "_", which is not good, according to this: https://help.github.com/en/articles/files-that-start-with-an-underscore-are-missing

Community Manager
Message 3 of 3

Re: broken images in subdirectory

Hey @johndhancock

 

Thanks for coming back to share what work! We're looking forward to seeing you around!


Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!