Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

Images are throwing 404 errors #99

Open
valzi opened this issue Feb 7, 2020 · 5 comments
Open

Images are throwing 404 errors #99

valzi opened this issue Feb 7, 2020 · 5 comments

Comments

@valzi
Copy link

valzi commented Feb 7, 2020

This may well be my problem rather than hylia's but maybe you can at least tell me which? I'm not very experienced.

Here's the page with images.

https://kowloonplanet.netlify.com/posts/mouse-guard-esque-hex-crawl-with-a-3-year-old/

And here's my repo:
https://github.com/valzi/hylia

@valzi
Copy link
Author

valzi commented Feb 7, 2020

I figured it out, but I did not figure out how to fix it, quite.

So here's the problem. The CMS generates links that look like ![map](images/hollymap.jpg "map") but it should be putting a / at the beginning. Can we fix that? Seems like a Netlify CMS bug to me, but again, I'm inexperienced.

@valzi
Copy link
Author

valzi commented Feb 7, 2020

Solved it!
hylia\src\admin\config.yml
needs to change public_folder: "images" to public_folder: "/images"

@valzi valzi closed this as completed Feb 7, 2020
@valzi valzi reopened this Feb 7, 2020
@Andy-set-studio
Copy link
Owner

Nice work. Fancy putting in a PR?

@valzi
Copy link
Author

valzi commented Feb 7, 2020 via email

@JamesForan JamesForan mentioned this issue Mar 18, 2020
@pseigo
Copy link

pseigo commented Apr 18, 2020

Looks like this was fixed in https://github.com/hankchizljaw/hylia/pull/104/files, this issue can be closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants