Giter VIP home page Giter VIP logo

Comments (7)

cotes2020 avatar cotes2020 commented on June 29, 2024 4

It'll be fixed soon.

from jekyll-theme-chirpy.

bethanybeachbum avatar bethanybeachbum commented on June 29, 2024 2

from jekyll-theme-chirpy.

Santoshkurmi avatar Santoshkurmi commented on June 29, 2024

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.

DmitriyFrogo avatar DmitriyFrogo commented on June 29, 2024

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.

Santoshkurmi avatar Santoshkurmi commented on June 29, 2024

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.

bethanybeachbum avatar bethanybeachbum commented on June 29, 2024

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

test error:
Screenshot 2024-03-24 at 12 30 57 PM

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:
ohiopyle

Thanks for a great theme! I am committed to making it work.

from jekyll-theme-chirpy.

kungfux avatar kungfux commented on June 29, 2024

@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 have assets/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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.