Thank you for your support forums so that I can contact you to ask for help.
It is the first time I use R Studio, Github, and Netlify for building a blog. While I am working on the blog, things present fine locally, but images (i.e. the background image and images in another section) do not show up on the page after deploying on Netlify. May you help me to check what is the issue, please? I tried to search online for fixing the issue, but it does not work.
I’m not familiar with the system you’re using, but at the top of your config.yaml I can see there’s a baseURL property that is currently set to that GitHub site.
Thank you very much for your guidance that I can make a change so the blog can load the background and images now. However, there is still an image in the achievement section that doesn’t show up. I try to delete and load it again, but it doesn’t work. May you help me to give it a look, please?
It is located at:
data\en\sections\achievements
image: images/sections/achievements/aces.png
If you don’t know why, the face in the hero area on the homepage is being stretched horizontally because the image isn’t square, but the area expects it to be.
You can fix it by adjusting the css here to include:
hello,
please i also need some help. I,'m a newbie. firstly i had a really though time uploading my work on netlify, but i did eventually and now the image to my first ever project refused showing after being deployed. I’ve read about changing the directory of the image but i still dont know how to go about it. https://tired-mehn.netlify.app/
This is my first time deploying a project on Netlify. Everything is going well, except for the images. They don’t show up. Can someone help me with that?
If you run your current build locally with npm run build and look into your dist folder, you will find that it doesn’t contain any of the image assets that you have in your src/assets folder, which is why they don’t show up on Netlify.
Hi similarly I am also facing the same error that the background image is not shown even though the image is working in my local environment how to solve that issue can you please help me to Dubuque that I am facing that problem only in the deployment process this is my GitHub link:- GitHub - Ayush433/React-Portfolio and the background image is inside the tailwind.config can you please help me to solve this
Note: Anyone else encountering this thread that is using Vite and has an issue with images, favicons, or _redirects files (or other static assets!) not showing up in their deployed site, should just read the documentation linked.