Search code examples
github-pages

images show up locally but not on github pages


I have a website on github pages. Two of the images work, but one just doesn't show up. I don't think it's a problem with my code, because if I open it up the local file, it shows perfectly. Has this happened to anyone else, or am I going crazy? I'm sure the website is up-to-date.


Solution

  • Your last commit refers to imgs/coding-large.jpg and imgs/game-large.jpg which do exist and do appear correctly.

    But my screen is "min-width: 500px", so that is expected.

    The last one https://calebbertrand.github.io/imgs/game.jpg is 404, because your imgs folder include game.JPG.
    Case (lowercase vs. uppercase) might not matter locally, at the (potentially case-insensitive) level, but it does when accessed through the web.