0down votefavorite 
<https://stackoverflow.com/questions/52894456/uploaded-image-is-reflecting-after-re-starting-ng-serve-command-in-angular-6#>

I am working on angular 6 and node project , after uploading image is 
saving in folder /assets/Images/uploades/image.jpg.

uploaded images are dynamic displaying like this

                    <label   for="file_type"><img  
style="height:150px;width:150px;border-radius:50%;" 
src="{{ImagePath}}{{serviceImage}}" alt="" /></label>

here {{ImagePath}} is localhost:4200/assets/Images/uploads/ and 
{{serviceImage}} Image name coming from the database .

Now the problem is after uploading the images , I have edit option to edit the 
form there other information is there including the image i want to display 
previously uploaded image , now what happening is immediately after clicking 
"edit" button image is not displaying ...saying 404 Error image is not found .

That Image is displaying only after the re starting with "ng serve" command .

I am using angular 6.1.0 and angular cli is 6.1.2


-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to