# My images are not showing on the website, how to fix the problem

**URL:** <https://answers.netlify.com/t/my-images-are-not-showing-on-the-website-how-to-fix-the-problem/87192>\
**Category:** Support\
**Tags:** deployment, building\
**Created:** [March 7, 2023, 2:11pm UTC](https://answers.netlify.com/t/my-images-are-not-showing-on-the-website-how-to-fix-the-problem/87192 "2023-03-07T14:11:53Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![nathanmartin](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/nathanmartin/32/30845_2.png) [@nathanmartin](https://answers.netlify.com/u/nathanmartin)\
**Post date:** [June 22, 2023, 2:24am UTC](https://answers.netlify.com/t/my-images-are-not-showing-on-the-website-how-to-fix-the-problem/87192/9 "2023-06-22T02:24:43Z")

</div>

@NellyCN You’re using Vite, and experiencing an entirely different issue.

If you run your `npm run build` locally you will see exactly what is happening, which is that your images aren’t ending up in your `dist` folder, and thus aren’t getting deployed by Netlify.

 ![image](https://global.discourse-cdn.com/netlify/original/3X/8/7/871a0d3ad04c1bfe780c1e45af20981529f1bf8a.png)

As to why it’s happening, please see my answer here:

> [@Images do not present on Netlify after deploying, but they work well on the local host](https://answers.netlify.com/t/images-do-not-present-on-netlify-after-deploying-but-they-work-well-on-the-local-host/66762/20):
>
> @ayush1 You are using Vite, so your issue is the same as many others using Vite. You haven’t read or understood the applicable documentation for Vite. Vite isn’t magic and it won’t work with whatever random project structure you throw at it. You should read the [Vite Static Asset Handling Documentation](https://vitejs.dev/guide/assets.html), in particular the section concerning the [Public Directory](https://vitejs.dev/guide/assets.html#the-public-directory). Note: Anyone else encountering this thread that is using Vite and has an issue with images, favicons, or \_redirects files (or other s…

---

_[View the full topic](https://answers.netlify.com/t/my-images-are-not-showing-on-the-website-how-to-fix-the-problem/87192)._
