Select to view content in your preferred language

Adding images to GitHub???

4356
5
Jump to solution
08-06-2015 04:21 AM
JamesFitzgerald
Frequent Contributor

Hello,

I have been trying to find the answer as to 'how to add images to github so I can reference the images in my website?' Any thoughts on the matter is greatly appreciated.Thanks!!!!!!

James

0 Kudos
1 Solution

Accepted Solutions
StevenGraf1
Frequent Contributor

Using Github for Desktop, you can sync repositories.  That's how I do it.  It basically takes the online project and moves it to your desktop.  Then you can create folders and store images in them.  Then sync them back with github.

-Steven

View solution in original post

5 Replies
RobertScheitlin__GISP
MVP Emeritus

James,

   I have a github project that has some images that I can use as an example.

Here I have an image in a github project.

https://github.com/rscheitlin/eSearch/blob/master/assets/images/i_buffer.png

and when I click the raw button I get the url that I would need to use in a web site:

https://raw.githubusercontent.com/rscheitlin/eSearch/master/assets/images/i_buffer.png

0 Kudos
JamesFitzgerald
Frequent Contributor

Thanks Robert,

How do I add images into my repository?

James

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

James,

   You can do as Steven recommends and use Github for Desktop or you can just use the Git commandline as I do. Here is a link that is just the basics of Git git - the simple guide - no deep stuff!

AdamMarinelli
Deactivated User

Here are the links for the Windows ​and Mac GitHub clients that others have mentioned.  Looks like there is a new unified GitHub Desktop coming out in the future.

StevenGraf1
Frequent Contributor

Using Github for Desktop, you can sync repositories.  That's how I do it.  It basically takes the online project and moves it to your desktop.  Then you can create folders and store images in them.  Then sync them back with github.

-Steven