React app from github to netlify

Here’s the the react app i made and deployed by using Github :
https://main--dreamy-axolotl-8308c7.netlify.app
my problem is none of the images are being uploaded, and yes I have tried many fixes and none of them helped, like :
changing the directory of where the images are, they used to be in …/src/assets i changed them to the very first directory, didn’t work and then to where app.jsx is and that didn’t work either.
I also tried with different src=“” but the issue is when i inspect elements and open the application tab in dev tools none of the images are being uploaded in the first place, i can’t see them using a link like this :
https://main--dreamy-axolotl-8308c7.netlify.app/images/background2.jpg
Please help :pray:

@Cscripts thanks for the post and welcome.
If possible can you share the repository of your project for me to help with the debugging.

Thanks.

1 Like

Thank you, here you are:

Put images in public folder and link them as <img src="/img1.jpg"/>. This is not a Netlify issue. Please refer to: Static Asset Handling | Vite (vitejs.dev)

2 Likes

thank you, I had to make a public folder and transfer everything there.

thanks for coming back and sharing this with the community!