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.

Readme files not displaying images

See original GitHub issue

Hi!

I just published my first container image to Artifact hub and noticed that images in the referenced README file are not displayed.

To Reproduce

Easiest would be for me to refer to the public readme on artifact hub https://artifacthub.io/packages/container/alpine/alpine

minor note: I noticed that I accidentally “stole” the alpine namespace, and I will happily remove the image if requested from either anyone of you or from the alpine maintainers.

The actual readme can be found at gitlab: https://gitlab.com/jitesoft/dockerfiles/alpine/-/raw/master/README.md

Expected behavior Images showing up in the readme on artifact hub.

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Tested in Firefox, Chrome, Edge
  • Version: All

Additional context

The images that are not displayed uses HTML type link/image tags in the README, which might be the issue:

<a href="https://fosshost.org/">
  <img src="https://raw.githubusercontent.com/jitesoft/misc/master/sponsors/fosshost.png" height="128" alt="Fosshost logo" />
</a>
<a href="https://www.aarch64.com/">
  <img src="https://raw.githubusercontent.com/jitesoft/misc/master/sponsors/aarch64.png" height="128" alt="Aarch64 logo" />
</a>

Viewing the HTML on the artifact hub page, it seems like the whole block is just stripped away.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
tegiozcommented, Jan 21, 2022

Awesome, thanks! 😊

1reaction
tegiozcommented, Jan 21, 2022

No worries!

That’s a great question. We still need to discuss this a bit, but naming your repository jitesoft-alpine sounds great 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Image not showing up in README.md on GitHub
I was facing the problem, especially when working with the single image. Example: ... Apparently, we should not rename the README.md file.
Read more >
Images in Markdown not showing when uploaded to Github
I have used the below syntax to display images in notebooks. <img src="image.png">. This works well when I run the notebook locally.
Read more >
Not able to render images within Markdown URL whic...
How do I show images within Confluence page rendered by within Markdown URL page? In github I have readme.md that has something like...
Read more >
Image in Readme.md is not showing on Project Home page ...
An image in the root of my Git repo no longer shows in the Readme.md when viewing on my project's home page. But...
Read more >
Markdown preview doesn't show image from <img> if relative ...
@IDEA Support @Dmitry Krasilschikov This bug affects the quality of README files users can create. It is practically not possible anymore to size...
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