Picture and Markdown #22719
-
Hello Again… As often in recent years, images are suddenly no longer displayed in the browser. But on GitHub, they do. For 48 hours, on multiple computers, different browsers reproducible Markdown: Last Time: Static HTML has never been so unpredictable Any idea? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Hello @PeterGyger, I believe the issue is that your images are located in a directory that begins with an underscore (_). Jekyll typically ignores these directories and their contents. So, I would recommend renaming the “_image” folder to just simply “image” or place them in the assets/images folder. This should hopefully resolve the issue. |
Beta Was this translation helpful? Give feedback.
-
Hello It hasn’t worked for 2 days Conclusion: “Jeckyl does not like underscores”? Testing is better than believing, so I’m trying |
Beta Was this translation helpful? Give feedback.
-
Pretty much. The only files/folders that should include underscores at the beginning would be those that are listed here. If the file or folder that begins with an underscore is not one of these, it’ll usually be ignored by Jekyll. |
Beta Was this translation helpful? Give feedback.
-
Hello Thanks for the URL I changed the directory to “image” - directly in the root. Modified the code. I saved the image file in jpg format, adapted the code and again NOK Any Idea? |
Beta Was this translation helpful? Give feedback.
-
Looks like you may need to move up one directory when referencing the image. Try changing:
to:
Because currently it appears it’s trying to pull the image from the /praxis/ directory which does not contain an image folder. When moving up one directory it appears to work. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your persistent help Unfortunately, the syntax adjustment to “/…/image…” NOK Let’s go back to “Start” With David Wells’ “How-to”, I have now switched to HTML-img tag. And it works https://gist.github.com/DavidWells/7d2e0e1bc78f4ac59a123ddf8b74932d Like I said, every couple of months I get weird phenomena with pictures and markdown on GitHub. You should stick to static HTML as much as possible Thanks for your support |
Beta Was this translation helpful? Give feedback.
Looks like you may need to move up one directory when referencing the image. Try changing:
to:
Because currently it appears it’s trying to pull the image from the /praxis/ directory which does not contain an image folder. When moving up one directory it appears to work.