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

The background image is not displaying when i publish me site using github.

Solved! Go to Solution.

Hello Everyone!

I am facing problem in the site published using github. The background image is not getting displayed when i publish the site. However, it is displaying in my local computer. 

The backround image is named as '4' and is present in images folder. 

I am not able to get where is the problem occuring and how to resolve it. 

The link to my published site is: https://aayushibansal2001.github.io/Blog-Page/

The link to my github repository is:https://github.com/aayushibansal2001/Blog-Page

4 Replies
Highlighted
Solution
Copilot Lvl 3
Message 2 of 5

Re: The background image is not displaying when i publish me site using github.

Change your file format of image 4.JPG to 4.jpg in your images folder. This error is occuring because you have used 4.jpg in your css files...

Highlighted
Copilot Lvl 2
Message 3 of 5

Re: The background image is not displaying when i publish me site using github.

How do we convert from .JPG to .jpg? Aren't both the same? 

Also i have tried doing 4.JPG in my css file, but then also the problem didn't resolve.

Highlighted
Copilot Lvl 3
Message 4 of 5

Re: The background image is not displaying when i publish me site using github.

I think it is solved now...

And yes both .JPG and .jpg are same extensions but in some OS it became case sensitive and hence always preferable to use lower case extensions....

Highlighted
Copilot Lvl 2
Message 5 of 5

Re: The background image is not displaying when i publish me site using github.

Yes. The problem is resolved now. Thanks for the help.