Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

README images do not show up on repo main page

Connor Sperling
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 31, 2021

I am trying to include images in my readme using the command

<img src="./images/test.jpg" width="200">

But the contents of the image do not show up on the repo main page:

Screenshot 2021-03-31 142242.png

The image does show up if I click on the README file, however:

Screenshot 2021-03-31 142414.png

My images will show up on the main page if use this in the markdown file instead:

![][./images/test.jpg]

But the images appear extremely large. The only successful way I've found to reduce the image size is with the html command above.

 

Any solutions to either make the image appear on the main page or reduce the size of an image using the markdown-style command?

2 answers

1 vote
vk12
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 22, 2023

I also have this issue.

 

any solution?

0 votes
Tony Chung March 6, 2024

I'm also having this issue and it's been 11 months since the OP with no response from anyone about this bug. In my tests, even the markdown method required the images to be in the root folder. I am thankful the OP found a method that works to at least bring the image from a subfolder.

When I used the same syntax I thought it only worked for images in the root folder. After testing again, this method also works from a subfolder.

![Alt text for image](./image-folder/file-name.ext)

Also as the OP noted, this loads the images at their actual sizes.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events