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.
I’m having the same similar issue .but mine is next js most of my images in the hero section are not displaying even my tailwind css responsive is not displaying the way it is displayed locally on my localhost … https://yulav.netlify.app/
@jennifer-pecky I can’t see any obvious issue with your site, but if you haven’t fixed it you should probably create a new thread of your own to get assistance.
It’s probably something simple, but I don’t help with Next related issues due to the middleware and added complexity of the system.
@nathanmartin hey, can u help me? my images don’t appear when i did the deploy, some images are ok and appear, but others images do not appear or are corrupted. The link of site is https://elaborate-gnome-d9c800.netlify.app/
I’ve tried to change the path of images, but this didn’t work
Hi @nathanmartin, I’m facing a similar issue as almost everyone here. I deployed a tailwind CSS and HTML project on Netlify. However, the images do not come up as they are on my local host. I tried everything I could. Please help me resolve this.
Github link: GitHub - TubiOb/Incover_Receipt
The whole codebase is in the build folder.