11

I've setup a github page, but my images are not loading. The site and The Site's Repo

I saw this question Images in github pages and relative links where it said that GitHub is run on Linux servers, thus case-sensitive. I can checked that the href directory is the same case.

Community
  • 1
  • 1
Patrick
  • 2,176
  • 3
  • 18
  • 21

2 Answers2

11

Files with underscores are treated specially by GitHub pages. You need to add a .nojekyll file in the root path, to turn off jekyll.

Look at this page for details

punchagan
  • 5,566
  • 1
  • 19
  • 23
0

First of all you could try removing the tailing slashes in your <img>-tags (and all the others that have it) as this violates the HTML 5 specification.

Jocke
  • 673
  • 3
  • 8
  • Thanks took the / away from tags in the index.html, but that didn't do anything. I may have messed up the vertical-align now somehow because there is a gap with the main image and the thumbnails. – Patrick Aug 02 '13 at 11:01