Images Stored in Seperate folders not displaying
When I upload images I put each of them in a seperate folder but am failing to reference that folder in the table so the images are not displaying
12 Replies
How does your upload code look like.
How does your image column code look like
Thats the column
however I can access the image publically on the browser
This is the code for uploading the image
`
that was for amentities
I have for different services
just they differ in folder names
I have realized even removing the directory still the image fails to show
I have set up a custom disk storage but seems nto to work
When I do something like this am able to view the storage image
But actual path stored in the db starts fron amentities
DB url=>
amentities/01HMS2TF7CJA8NZKRWHWJ93BQB.png
the image is publically accessible
Have you create the storage link?
https://laravel.com/docs/10.x/filesystem#the-public-disk
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
Yeah I always create that first
What console error do you have on the table page?
What image is it actualt pulling from the server that can not be loaded ?
when I inspect the src is empty
When I tried that code I got that