New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Picture Not Showing On Website. Why? #4
Comments
Hi, Kevin. The server GitHub uses for github.io is case-sensitive. You have uppercase PNG in the file name and lowercase in the code. Make them match, and your pic will show up. |
Thank you! |
It's still not working. Why? |
what is the URL that it is not showing up on? |
It might have to be with how you have the file named.
https://tomcam.github.io/least-github-pages/adding-images-github-pages-site.html
Adding images to your GitHub Pages site<https://tomcam.github.io/least-github-pages/adding-images-github-pages-site.html>
Adding images to your GitHub Pages site. The Jekyll publishing system used by GitHub Pages expects you to have an assets directory, and that’s where image files should be placed. By convention they go into an images subdirectory (full path /docs/assets/images but that’s not a firm requirement. They can be anywhere in the /docs/assets path.. Create a directory called /docs/assets
tomcam.github.io
community/community#23086
[https://opengraph.githubassets.com/6bbb29fdc48a648fb80597fa35c7d4d7aabc46f5eedf5584c6024b2808b6a572/orgs/community/discussions/23086]<https://github.com/orgs/community/discussions/23086>
Github pages' images not working · Discussion #23086 · community<community/community#23086>
I am still new to github pages overall and started playing with some items by creating an item through VScode CLI. I have read online that GitHub pages is case sensitive and even after double-check...
github.com
…________________________________
From: Kevin Bell ***@***.***>
Sent: Friday, November 18, 2022 8:21
To: bell-kevin/Kevin-Bell ***@***.***>
Cc: George Ray ***@***.***>; Comment ***@***.***>
Subject: Re: [bell-kevin/Kevin-Bell] Picture Not Showing On Website. Why? (Issue #4)
bellKevin.me<https://bellkevin.me>
—
Reply to this email directly, view it on GitHub<#4 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AG4R7EDT5PMFR2QECID3V7DWI6NH3ANCNFSM6AAAAAASAOBRHM>.
You are receiving this because you commented.Message ID: ***@***.***>
|
We'll see if this works. https://github.com/bell-kevin/Kevin-Bell/blob/main/docs/assets/img/bellKevin.png |
Still not working... |
We'll see if this works: https://github.com/bell-kevin/Kevin-Bell/blob/main/master/assets/bellKevin.png |
Still not working... |
https://stackoverflow.com/questions/48919200/github-pages-only-showing-readme-file
https://stackoverflow.com/questions/17141612/images-in-github-pages-and-relative-links
…________________________________
From: Kevin Bell ***@***.***>
Sent: Friday, November 18, 2022 10:54
To: bell-kevin/Kevin-Bell ***@***.***>
Cc: George Ray ***@***.***>; Comment ***@***.***>
Subject: Re: [bell-kevin/Kevin-Bell] Picture Not Showing On Website. Why? (Issue #4)
Still not working...
—
Reply to this email directly, view it on GitHub<#4 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AG4R7ECGZAHBUURBVGNGVRDWI67EDANCNFSM6AAAAAASAOBRHM>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Got it! |
@bell-kevin did you figure it out? None of the solutions about case sensitivity and path applied to me. Haven't tried the full path tho |
Yes! This did the trick:
And again this was from: https://raw.githubusercontent.com/bell-kevin/Kevin-Bell/main/README.md |
@BlocBoiMonzer email me if you need more help. bellKevin@pm.me |
Thank you Kevin @bell-kevin . So basically, you used a URL to link the images? |
open carrot img src="https://raw.githubusercontent.com/bell-kevin/Kevin-Bell/main/kevinBell.png" alt="Kevin" class="inline"/> Starting with open carrot <. That did the trick for me. Let me know if you have any other questions @BlocBoiMonzer |
Thanks good sir |
@BlocBoiMonzer You're welcome! |
Picture shows up on READme website, but Not Showing On actual Website. Why? Any help is appreciated.
The text was updated successfully, but these errors were encountered: