images coming from the front to be displayed in filamant table column
im working with next js and laravel.. filament ona registration and the images doesnt apear on the column even if there's no error in the console the app url is correct i run the
php artisan storage:link
and i cleared the cash in the screenshot i tried the normal method and also the other i commented i found it on chatgpt is it the right way or should i use something else and the other image for database means that the path of the image has been entred our database so the problem isnt in the frontend21 Replies
So the files are in
storage/app/public/pictures
folder?i found two directories that when i change the name of tthe first also the other will change and they has the same images i entred from the form in the front
yes i just changed the name now
Yes. Because the folder it symlinked
You changed the folder name to
pictures
instead of images_path
?so its normal ?
Yes. It's the same folder.
the opposite its named images_path now
Then you need to adjust the folder name in the database
i did but it stills the same
But now it tries to output the image, but it fails loading. Check the console for errors
its empty // the first 4 images are ther when i seed the database thats why we can see them
So what's the difference between the seeded ones and the others?
even when i try to view each one there s no error
the seeded ones i created them with factories so i think the path from the internet even if i cant also see them in edit and viewactions
I think it's the default but can you try adding
->disk('public')
?where ?
To the column and the field
stiil didnt apear
Any info in the network tab of DevTools?
it gives this when i try to view or edit
That's only the XHR tab though. What about the images?