Image displayed locally but not displayed on the server

Issue

I am using (nodejs, express, multer) & Angular. I am successfully uploading and opening a photo locally, but on the virtual server the photo is uploading but not showing up in the UI.
enter image description here

Solution

Maybe your image path is set incorrectly. For example "img/img1.jpg" vs "/img/img1.jpg".

The reference to "text/html" maybe suggest you have a server error.

Could you provide us more info?

Answered By – DeanTwit

Answer Checked By – Marilyn (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.