Images uploaded not showing in my blog app

Hai, I used Multer to upload images it works fine in localhost but not so in Netlify.
The problem is not with uploading I am not able to retrieve images from MongoDB.
every other data is shows up in Ui.

any changes I need to make when pushing to Netlify…even though I have tried redirecting all other things I found out online.

UI – GitHub - arungith30/blog-ui
Backend – GitHub - arungith30/blog

This is not an issue with Netlify. Trying to access an image directly results in an error

1 Like

your images are populating fine for me on your site.

1 Like

thanks for your response. I am not able to access images. Any other article relating this would be much appreciated.Thank you

thanks for your response. I am new to this. Any other article/reference relating this would be much appreciated. Thank you

The issue is with the back-end system you’ve implemented. Several of the images you’re trying to load don’t exist in the images directory in the repository. And even those that do don’t load. This is nothing to do with Netlify.

I can tell you it has something to do with image path e.g.

https://blog-aunf.onrender.com/api/images/1709445633212audi3.avif

The above path is not correct based on the code in your repository (line #19)

Again, not a Netlify issue.

1 Like