bell-kevin / Kevin-Bell

Kevin Bell. bellKevin.me
GNU Affero General Public License v3.0
0 stars 2 forks source link

Picture Not Showing On Website. Why? #4

Closed bell-kevin closed 1 year ago

bell-kevin commented 1 year ago

Picture shows up on READme website, but Not Showing On actual Website. Why? Any help is appreciated.

GeorgeRay commented 1 year ago

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.

bell-kevin commented 1 year ago

Thank you!

bell-kevin commented 1 year ago

It's still not working. Why?

GeorgeRay commented 1 year ago

what is the URL that it is not showing up on?

bell-kevin commented 1 year ago

bellKevin.me

GeorgeRay commented 1 year ago

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 sitehttps://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

https://github.com/orgs/community/discussions/23086 [https://opengraph.githubassets.com/6bbb29fdc48a648fb80597fa35c7d4d7aabc46f5eedf5584c6024b2808b6a572/orgs/community/discussions/23086]https://github.com/orgs/community/discussions/23086 Github pages' images not working · Discussion #23086 · communityhttps://github.com/orgs/community/discussions/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.mehttps://bellkevin.me

— Reply to this email directly, view it on GitHubhttps://github.com/bell-kevin/Kevin-Bell/issues/4#issuecomment-1320168739, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG4R7EDT5PMFR2QECID3V7DWI6NH3ANCNFSM6AAAAAASAOBRHM. You are receiving this because you commented.Message ID: @.***>

bell-kevin commented 1 year ago

We'll see if this works.

https://github.com/bell-kevin/Kevin-Bell/blob/main/docs/assets/img/bellKevin.png

bell-kevin commented 1 year ago

Still not working...

bell-kevin commented 1 year ago

We'll see if this works:

https://github.com/bell-kevin/Kevin-Bell/blob/main/master/assets/bellKevin.png

bell-kevin commented 1 year ago

Still not working...

GeorgeRay commented 1 year ago

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 GitHubhttps://github.com/bell-kevin/Kevin-Bell/issues/4#issuecomment-1320346458, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG4R7ECGZAHBUURBVGNGVRDWI67EDANCNFSM6AAAAAASAOBRHM. You are receiving this because you commented.Message ID: @.***>

bell-kevin commented 1 year ago

Got it!

afrodev commented 1 year ago

@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

bell-kevin commented 1 year ago

Yes!

This did the trick:

https://raw.githubusercontent.com/bell-kevin/Kevin-Bell/main/README.md

And again this was from:

https://raw.githubusercontent.com/bell-kevin/Kevin-Bell/main/README.md

bell-kevin commented 1 year ago

@BlocBoiMonzer email me if you need more help. bellKevin@pm.me

afrodev commented 1 year ago

Thank you Kevin @bell-kevin . So basically, you used a URL to link the images?

bell-kevin commented 1 year ago

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

afrodev commented 1 year ago

Thanks good sir

bell-kevin commented 1 year ago

@BlocBoiMonzer You're welcome!