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

Google search not crawling Github page images

Github experts-

 

Images on our Github readme pages are not being crawled and indexed by Google search.  Google finds text fine, but not images, even though they use basic <img src> tags with descriptive title and alt attributes.

For example on this Github page:

  https://github.com/signalogic/SigDL

The HMTL source for the first image looks like this:

  <img src="https://github.com/signalogic/SigDL/raw/master/images/Deep_Learning_Model_Compression_Flow_Diagram_R..." alt="Deep learning model compression flow diagram" title="Deep learning model compression flow diagram" style="max-width:100%;">

and clicking the image goes here:

  https://raw.githubusercontent.com/signalogic/SigDL/master/images/Deep_Learning_Model_Compression_Flo...

Discoverability is important for Readme pages.  What is needed to fix this ?  Do I need to remove the "raw=true" ?  Is there a problem using a subfolder (in this case named "images") ?

Thanks.

-Jeff

3 Replies
Copilot Lvl 2
Message 2 of 4

Re: Google search not crawling Github page images

Additional note ...

 

I removed the raw=true attribute, but the image file itself still ends up on:

  raw.githubusercontent.com

How can I get images to be stored on:

  https://github.com/signalogic/SigDL/blob/master/...

instead of

  https://raw.githubusercontent.com/signalogic/SigDL/master/...

 

?  Or alternatively, how to make it possible for the Google crawler to "follow" the <img src> tag to raw.githubusercontent.com ?  Thanks.

 

-Jeff

 

Copilot Lvl 2
Message 3 of 4

Re: Google search not crawling Github page images

The same issue had happened but my team had solved that with their advanced coding skills. Now I am just trying my best to get my website on the top of search results in Google but SEO is taking a lot of time and that's why I am having some interesting running the Google Adwords Campaign Management ads. hopefully we'll be able to get good results with that.

Commander Lvl 2
Message 4 of 4

Re: Google search not crawling Github page images

I don't know if this is relevant to your image-SEO question or not, but the repository you cited as an example (https://github.com/signalogic/SigDL)  is not a Github Page!

 

If properly configured, to access that Github Page, the URL https://signalogic.github.io/SigDL/ should work. It does not - I get a 404 error.

 

For starters, you will want to go to the repository settings and update the "Github Pages" section. I'm assuming it currently looks like:

 

gh_p_1.PNG

Change the dropdown to 'master', and the Github Page will actually be published!

 

One of the things you are missing out on by not having your page actually published is all the Jekyll-SEO-tag goodness. 

 

 

Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!