Since you've created a public/images directory, your endpoint will be HTTP://localhost:8000/images/name.jpg . So either call your images with that, or instead of the public/images directory, create a public/api/products directory and put your images in there.
Neoglyph said:
Since you've created a
public/imagesdirectory, your endpoint will beHTTP://localhost:8000/images/name.jpg. So either call your images with that, or instead of thepublic/imagesdirectory, create apublic/api/productsdirectory and put your images in there.
What about routes? I need to call image: <img ng-src="HTTP://localhost:8000/images/name.jpg">
What about routes? I need to call image: <img ng-src="HTTP://localhost:8000/images/name.jpg">
Not sure I see the problem there.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.