-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Pictures in the about_md are not displayed #2527
-
When I modify my code in about_md, it shows up in preview, but not on web pages
1729044608719
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 5 replies
-
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
Beta Was this translation helpful? Give feedback.
All reactions
-
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/
Beta Was this translation helpful? Give feedback.
All reactions
-
It confused me that in the 'Favors' page, all images showed well but in about.md and researches page, images could not be displayed.
Beta Was this translation helpful? Give feedback.
All reactions
-
@logan14925 The paths don't look to be quite correct, try /images/inverse_results.jpg
Beta Was this translation helpful? Give feedback.
All reactions
-
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)
Beta Was this translation helpful? Give feedback.
All reactions
-
@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.
Beta Was this translation helpful? Give feedback.