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.

Broken image in github

See original GitHub issue

I have a simple build status link in my readme.md to our local Jenkins server. If I preview readme.md in a Markdown viewer in VS Code, it renders fine. I also have a link on a Confluence page, and that renders fine.

In GitHub however it fails to render, only showing a broken image.

The link is very simple, of this format…

[![Build Status](http://jenkins-server:8080/buildStatus/icon?job=our-project%2Fmaster)](http://jenkins-server:8080/blue/organizations/jenkins/our-project/activity?branch=master)

I have also tried with simple HTML ‘img’ tags, but doesn’t work.

If I put the image link direct into the browser it renders fine.

I should add that we’re using GitHub Enterprise, hosted on-premises but then it can see our Jenkins server, plus it works in our Confluence which is cloud hosted (i.e. the browser can see the Jenkins server so works fine).

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:10
  • Comments:16

github_iconTop GitHub Comments

3reactions
bhorwoodcommented, Mar 2, 2020

It looks like this plugin outputs the build status as HTML and not an image. This explains why image markdown isn’t working.

Any chance this plugin can be updated to output an image resource?

1reaction
spetrovcommented, Sep 17, 2020

@slw07g Thanks for pointing this out! I was pulling my hair for quite a while… This solved my problem too!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Github: How to fix broken image paths
Are you trying to deploy your page to Github, and suddenly, after everything was uploaded, your images stop showing up?
Read more >
Broken images · Discussion #21960 · community - GitHub
I am having ussues trying to get my image to show on my live page. The image shows up completely fine on y...
Read more >
Why are all images broken on my Github Pages?
I'm a new user of Git/Github and I'm traying to use Gitghub Pages for my project but for some reason the images are...
Read more >
Help with broken image : r/github - Reddit
You could try to change the src attribute of the image from MyFamily/MyFamily.jpg to the URL of the image (https://github.com/jlcannonportfolio/ ...
Read more >
Broken image on github pages (Example) - Treehouse
Hi, Please I need help. I have been working to upload my website on github pages, but some of the images are broken....
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