Markdown images problem

I have a problem referencing a image in my wiki using mardown…https://github.com/ejgutierrez74/MyBilliards/wiki

Here is my repo: https://github.com/ejgutierrez74/MyBilliards

Welcome to the MyBilliards wiki!

La meva primera imatge

Es veu:
![Billiards](https://github.com/ejgutierrez74/MyBilliards/blob/master/American(1024x585).jpg)

![Billiards JPG](../master/American(1024x585).jpg)

So i have an image in my root folder, if i get the url link in the first call, it works… But id prefer to work with local paths

like in the second call… Second call dont work and i have tried lots ( none of them works)…

Billiards JPG

Billiards JPG

Billiards JPG

I also would like to put all the images in a folder called documentImages and get all the images from it, just to mainteance and have some order.

Thanks

I think

[USERNAME]/[REPO]//blob/master/American(1024x585).jpg

will work.

2 Likes

It worked

But its complicated as you can wrote a markdown document in local using ( image.jpg, local urls) and when you work/upload the documents to the wiki you have to update all the links using:

[USERNAME]/[REPO]//blob/master/American(1024x585).jpg

If its not a bug, could be considered as a feature request, to use the same url in local and remote repos

Instead of:

[USERNAME]/[REPO]//blob/master/American(1024x585).jpg

 ( username, repo and blob, master can be added by default in images urls)

use:

American(1024x585).jpg

Hi Ejgutierrez74,

Thanks for this feedback! We’re always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I’ve logged your feature request in our internal feature request list.

Though I can’t guarantee anything or share a timeline for this, I can tell you that it’s been shared with the appropriate teams for consideration.

Please let me know if you have any other questions.

Cheers!

Andrea

Could you try

../blob/master/American(1024x585).jpg

? It should work as well an doesn’t require a username/repo in the URL.

This one doesnt work for me, but still think that to be in the same line and avoid some extra-work, the natural way is writing the same code locally than the wiki…

So ( images/American.jpg) should work and Github add USERNAME, REPO, blob, master, whatever is needed… ( think of an assignment with 100 images or more…) It seems not very difficult to implement this. Just a thought and a request.

Thank for your work and help

Thanks, keep me updated