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 frontend
No description
No description
21 Replies
Dennis Koch
Dennis Koch7mo ago
So the files are in storage/app/public/pictures folder?
Yassmine
YassmineOP7mo ago
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
No description
No description
Yassmine
YassmineOP7mo ago
yes i just changed the name now
Dennis Koch
Dennis Koch7mo ago
Yes. Because the folder it symlinked You changed the folder name to pictures instead of images_path?
Yassmine
YassmineOP7mo ago
so its normal ?
Dennis Koch
Dennis Koch7mo ago
Yes. It's the same folder.
Yassmine
YassmineOP7mo ago
the opposite its named images_path now
Dennis Koch
Dennis Koch7mo ago
Then you need to adjust the folder name in the database
Yassmine
YassmineOP7mo ago
i did but it stills the same
No description
No description
Dennis Koch
Dennis Koch7mo ago
But now it tries to output the image, but it fails loading. Check the console for errors
Yassmine
YassmineOP7mo ago
its empty // the first 4 images are ther when i seed the database thats why we can see them
No description
Dennis Koch
Dennis Koch7mo ago
So what's the difference between the seeded ones and the others?
Yassmine
YassmineOP7mo ago
even when i try to view each one there s no error
No description
Yassmine
YassmineOP7mo ago
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
No description
Dennis Koch
Dennis Koch7mo ago
I think it's the default but can you try adding ->disk('public')?
Yassmine
YassmineOP7mo ago
where ?
Dennis Koch
Dennis Koch7mo ago
To the column and the field
Yassmine
YassmineOP7mo ago
stiil didnt apear
No description
No description
Dennis Koch
Dennis Koch7mo ago
Any info in the network tab of DevTools?
Yassmine
YassmineOP7mo ago
it gives this when i try to view or edit
No description
Dennis Koch
Dennis Koch7mo ago
That's only the XHR tab though. What about the images?
Want results from more Discord servers?
Add your server