Images not Working
See original GitHub issueIssue Description
Hi @cobidev, I want to thank you for building this. I was able to build my portfolio, including images, and it all worked when I used gatsby develop
to preview it. However, when I build it and published it to Github Pages via the gatsby build --prefix-paths && gh-pages -d public -b master
command (from the docs) the only image that appears is the project.jpg
file. I am not familiar with gatsby, so this could be a problem with the images folder, or the png
or jpeg
extensions, or just my build. The repo is here and the site is gideon357.github.io. Any help is much appreciated 😄 !
Thanks, @gideon357
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
Images not loading on iPhone? Here's how to fix it
Fix images not working in iMessage · Ensure iMessage is enabled · Force quit and reopen the Messages app · Check #images availability...
Read more >[8 Fixes] #images Not Working on iPhone 2021 - iMobie
8 Ways to Fix #images Not working on iPhone · 1. Update to the Latest iOS · 2. Restart the Messages App ·...
Read more >Troubleshoot issues with Google Images - Google Search Help
Troubleshoot issues with Google Images · Step 1: Try private browsing mode · Step 2: Clear your browser's cache & cookies · Step...
Read more >Fix #images Not Working on iPhone in 2022 - For iOS 16/15/14
How to Fix #images Not Working on iPhone · 1. Go to Settings > Tap General > Tap Language & Region > Tap...
Read more >5 Reasons Why Your Images Won't Load | SiteUptime Blog
1. Your Photos Are Too Large · 2. The Image Doesn't Exist · 3. Wrong Filename and Extension · 4. Local File Path...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@summer-cook it seems is a problem with the url(‘’) and the instructions, well to me is not working with that instructions neither; what i did is to put my image in /static (in root directory, create the folder) and to change the line of background to
background: url('/image.png');
(see: https://www.gatsbyjs.com/docs/static-folder/). Im gonna do a PR later to fix this 😄thank you so much for your help @alexmndzdev , that worked perfectly 😃