Skip to content
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

Images not working on web version #11

Open
logictom opened this issue Jan 17, 2023 · 2 comments
Open

Images not working on web version #11

logictom opened this issue Jan 17, 2023 · 2 comments

Comments

@logictom
Copy link

logictom commented Jan 17, 2023

Images are not loading on the web version, https://maksimdrachov.github.io/zephyr-rtos-tutorial/

Example link to image: "/images/2-introduction/sample-folder.png", to my understanding means it's trying to load it from the root URL, i.e. https://maksimdrachov.github.io/images/2-introduction/sample-folder.png which gives a 404

Whereas they should be, or at least they're accessable on: https://maksimdrachov.github.io/zephyr-rtos-tutorial/images/2-introduction/sample-folder.png
I think they should drop the leading forward slash but it's been a while since I did any web stuff
No idea how Just the Docs works otherwise I'd give it a go :)

@maksimdrachov
Copy link
Owner

Thanks! I'll have a look :)

@maarten1C96
Copy link
Contributor

I think the image paths only need to two extra parent directory references. For example instead of /images/2-introduction/sample-folder.png, on my computer ../../images/2-introduction/sample-folder.png solves the problem.

(And very fantastic tutorial!!!)

Originally posted by @maarten1C96 in #17 (comment)

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

No branches or pull requests

3 participants