You can create a branch called gh-pages (which you can branch off from the initial commit and keep separate from your main repo) and link the image from your generated github.io page as well - see
https://help.github.com/articles/configuring-a-publishing-so.... That won't make the repository itself small, but it will keep the master branch clean. Alternatively you could create a separate docs or Github Pages repository under the same organization.