-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview images on home page fail to render in 6.5.4 #1625
Comments
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 For now, I have restricted in Gemfile to v6.5.3 only, now again everything is working fine. |
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 |
This comment was marked as duplicate.
This comment was marked as duplicate.
It'll be fixed soon. |
I am having a very similar problem. Steps To Reproduce Expected Behavior Environment: To solve problem I am referencing all pictures on my laptop this way: Thanks for a great theme! I am committed to making it work. |
@bethanybeachbum I see no discrepancy in tests. Those images mentioned in test pipeline do not exist in your
|
Dear Alexander Fuchs:
I owe you two beers.
One for being so prompt in your response.
Two for pointing out my dumb syntax mistakes.
Thank you very much
Mark Brown
… On Mar 24, 2024, at 1:15 PM, Alexander Fuks ***@***.***> wrote:
@bethanybeachbum <https://github.com/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
—
Reply to this email directly, view it on GitHub <#1625 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEVMSCYV4FIJTGVLGMRXYHLYZ4CZ5AVCNFSM6AAAAABFEH3VDSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWHA3TKOBWHE>.
You are receiving this because you were mentioned.
|
Checklist
How did you create the site?
Generated from
chirpy-starter
Describe the bug
Changes to img-url.html have broken the url generation for preview images, resulting in bad links for posts that use preview images. All preview images on the home page fail to render. Favicon seems to have suffered the same fate.
In 6.5.3, the img src attribute was properly generated.
<img loading="lazy" alt="About 2 weeks to assemble" src="/assets/img/posts/assembly-table/thumbnails/20201001_193728.jpeg">
In 6.5.4, In the image link, there are now two slashes prefixing the src attribute.
<img loading="lazy" alt="About 2 weeks to assemble" src="//assets/img/posts/assembly-table/thumbnails/20201001_193728.jpeg">
There were changes to the img-url.html that look like they may have caused this.
v6.5.3...v6.5.4
Please note that all my posts use the preview image with the following format for the image declaration in the YAML front matter.
Note that I am not using a CDN for any images.
Steps To Reproduce
Preview images do not show up on the home page. They do show up however on the post itself.
Expected Behavior
preview images should be visible in the home page.
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: