Comments (7)
It'll be fixed soon.
from jekyll-theme-chirpy.
from jekyll-theme-chirpy.
I am facing the same problem. Yesterday everything was working properly. Today I write a simple post, and once the github build the page , all the images tag stopped working on both preview images as well as any other image tag.
The problem is if there is image path like : image: /assets/cat.jpg , it renders the img tag with
<img src="//assets/cat.jpg"/>
, so it adds extras slash in place of image path for relative file path. For url images,it is working fine. If there is two slash infront of image path, the browser is treating the path as http://assets/cat.jpg which is invalid url.
For now, I have restricted in Gemfile to v6.5.3 only, now again everything is working fine.
from jekyll-theme-chirpy.
For me, after update to 6.5.4, html-proofer give me errors like "Image link //commons/avatar.jpg is a protocol-relative URL, use explicit https:// instead" and refused to build whole site
I fixed this issue by adding "https://USERNAME.github.io" domain to img_cdn, as described here #1623
from jekyll-theme-chirpy.
For me, after update to 6.5.4, html-proofer give me errors like "Image link //commons/avatar.jpg is a protocol-relative URL, use explicit https:// instead" and refused to build whole site I fixed this issue by adding "https://USERNAME.github.io" domain to img_cdn, as described here #1623
Yours also the same double slash problem in a image relative path😴
from jekyll-theme-chirpy.
I am having a very similar problem.
Steps To Reproduce
During tests, images cannot be found.
Expected Behavior
images should past testing.
Environment:
Ruby: 3.2.3
Jekyll: 4.3.3
Chirpy: 6.5.5
To solve problem I am referencing all pictures on my laptop this way:
![ohiopyle] (https://github.com/bethanybeachbum/bethanybeachbum.github.io/blob/main/assets/img/Ohiopyle.jpeg)
Then once tests pass, I go into my files on gitthub and rewrite accordingly:
Thanks for a great theme! I am committed to making it work.
from jekyll-theme-chirpy.
@bethanybeachbum I see no discrepancy in tests. Those images mentioned in test pipeline do not exist in your /assets/img
folder as I can see. Please double check image names your are trying to use.
/assets/img/trail.jpg
does not exist, instead you haveassets/img/trail2.jpg
- image
/assets/img/Ohiopyle.jpg
does not exist, instead you have/assets/img/Ohiopyle.jpeg
from jekyll-theme-chirpy.
Related Issues (20)
- Embedded video does not respect the media_subpath Front Matter variable HOT 3
- Add Markdownify processing to description: field Front Matter rendering. HOT 3
- Automated repository README.md as post content HOT 2
- error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/jekyll-theme-chirpy.scss': HOT 12
- can not parse map data in json HOT 2
- All images will be displayed when switching images (including light and dark mode). HOT 4
- Can not parse cpp code sippit in markdown file
- Image displaying feature will be broken when TOC is off
- Hope to add documentation feature similar to Vitepress or Docusaurus
- Videos Improperly Sized in 7.0.0 HOT 1
- Would like the ability to have basic markdown formatting in the description; field of a post. HOT 5
- Error /assets/js/dist/home.min.js HOT 7
- htmlproofer failed with non-root bash_path HOT 1
- Missing lazysizes.min.js when chooses to self-host assests/lib
- Could this repo worked with username.github.io/project_name HOT 1
- Menu location - located on top instead of sidebar / side menu ? HOT 1
- TypeError: Failed to register a ServiceWorker for scope ('https://username.github.io/') with script ('https://username.github.io/sw.min.js'): A bad HTTP response code (404) was received when fetching the script. HOT 3
- Error: Custom property values may not be empty HOT 1
- Some options for site.lang are incompatible with giscus API HOT 1
- Website does not update when new one is built/deployed HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-theme-chirpy.