Design comparison
SolutionDesign
Solution retrospective
after published on github the image stopped showing, but local it shows
Community feedback
- @taco-nekoPosted over 1 year ago
I had the same issue with the image! What fixed it for me was changing it from
src="/images/image-qr-code.png"
to
src="images/image-qr-code.png"
Try removing the first slash and see if it fixes it.
0 - @DesignsByRyanReidPosted over 1 year ago
Hello, my thought as to why the image is not showing after being loaded on GitHub but is showing local is maybe the image file was not loaded with the html file on GitHub.
0 - @HectorMartinDamaPosted over 1 year ago
Hello @Lohuama, change the property "src" for this:
src="./images/image-qr-code.png"
You are missing the point, this indicates the main folder of the project.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord