question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Only images from github are displaying

See original GitHub issue

I’m trying to display an image in the preview but I’m not sure if I’m doing something wrong. If I upload the image to github it displays correctly. What I’m doing on my file is

![1](https://imgur.com/Image.png)
![2](/home/user/path/to/file/Image.png)
![3](./path/to/file/Image.png)
![4](https://camo.githubusercontent.com/verylongstringofnumbers) 

1 - 3 don’t work, the browser (Firefox, Firefox-Nightly and Chromium) either display nothing (not even the string of text) or they display an empty rectangle. The fourth one works but it’s the link that GitHub gives after putting the first one in the readme, is there way I can display images without putting them in GitHub?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
iamccocommented, May 13, 2022

Change 127.0.0.1 to localhost to see if it can display. I don’t know if it’s because imgur block IP website

0reactions
eeeXuncommented, May 13, 2022

Yes, change to localhost would work

Read more comments on GitHub >

github_iconTop Results From Across the Web

Images not displaying in Github Pages? - Stack Overflow
Nevermind, I solved it. If anyone has the same problem. GitHub Pages are case sensitive. Not only for folders, but also for image...
Read more >
Why doesn't my picture show on my web page when it ... - Quora
Once uploaded to GitHub you will go to the repository you just uploaded, then go to the settings, then scroll down to the...
Read more >
GitHub Pages Free Website Portfolio Tutorial - YouTube
How do you add more images to your website portfolio hosted on Github pages?How to make a one page portfolio website tutorial video...
Read more >
Adding images to your GitHub Pages site | The Least You ...
... on one thing: showing how to get a working informational website up and running as fast as possible using GitHub Pages, using...
Read more >
I cannot get an image to display - Help - Jekyll Talk
If you just put an image into the _posts folder, I really don't know what would ... And if you're not hosting with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found