Answer the question
In order to leave comments, you need to log in
How to set paths to images in GitHub Pages?
I have a simple html site. Page and picture.
Everything works locally (I have worked with both hosting and dedicated servers - I have experience, there are no errors in the code)
All this is uploaded and works on GitHub Pages. But the pictures are not displayed, although they are in the project (on the server).
Path to the image in the page code images/cs.png
Path to the image on the page, but there is no image on this path (source code of the page). https://логин_хаба.github.io/images/cs.png
The path from the github repository. I logged into my account, went to the repository and found this picture file
https://github.com/логин_хаба/логин_хаба.github.io/blob/master/images/cs.jpg?raw=true
Answer the question
In order to leave comments, you need to log in
they are on the path
login_hub.github.io/repository_name/images/cs.png
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question