Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pictures in the about_md are not displayed #2527

Unanswered
Dragon-Y233 asked this question in Q&A
Discussion options

When I modify my code in about_md, it shows up in preview, but not on web pages
1729044608719

You must be logged in to vote

Replies: 1 comment 5 replies

Comment options

That looks like the icon for a broken reference to an image. What path are you using to refer to them? Usually it should be something along the lines of /images/image.png

You must be logged in to vote
5 replies
Comment options

image
image

I used all methods above to show images in about.md, however, none of them worked well. I confirm that path is correct. Could you help me check the correct format to input images?Thanks.

My website link : https://logan14925.github.io/Jiacheng_Xue.github.io/

Comment options

It confused me that in the 'Favors' page, all images showed well but in about.md and researches page, images could not be displayed.

Comment options

@logan14925 The paths don't look to be quite correct, try /images/inverse_results.jpg

Comment options

Thank you very much! I tried the suggested path, but it didn’t work.

I was surprised that images show on sub-pages like researches, but not on the homepage. I also noticed most people don’t add images to homepages. Could there be a rule against images on the homepage?(I suppose)

Comment options

@logan14925 Double check your /images/ directory to make sure the file is present as well - typically the three most common reasons for a broken image is going to be that the path is wrong, something is misspelled, or the file is not in the correct place. Beyond there are no restrictions in the template in terms of where images can appear and the online example has one on the homepage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #2525 on October 16, 2024 13:03.

AltStyle によって変換されたページ (->オリジナル) /