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

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

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…

1 Like

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.

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…

1 Like

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