'How to get image through localhost in browser url section
how do i get image in localhost using angular.
like(http://localhost:0000/(folder name)/(image name))
my image stores in project directory and also in sql database.
i see so many code but it doesn't work with my code.
Solution 1:[1]
You can store static content in assets folder.
Then access it with: http://localhost:0000/assets/(folder name)/(image name)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
