Support the ongoing development of Laravel.io →
Requests
Last updated 1 year ago.
0

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.

0

And what about routes?

Last updated 8 years ago.
0

Neoglyph said:

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.

What about routes? I need to call image: <img ng-src="HTTP://localhost:8000/images/name.jpg">

0

What about routes? I need to call image: <img ng-src="HTTP://localhost:8000/images/name.jpg">

Not sure I see the problem there.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.