F
Filamentβ€’16mo ago
richeklein

Images not displaying in v3 demo app

I just installed the v3 demo app (https://github.com/filamentphp/demo), and everything seems to work well except the images. The images are in storage/app/public and are seeded in the database, but they do not display in the table or form. I'm not sure if this has something to do with the use of SpatieMediaLibraryImageColumn instead of a standard ImageColumn. I'm using all the code directly from the repo (no modifications). Was anyone else able to get the v3 demo app running locally β€” with working images?
Solution:
Silly mistake πŸ€¦β€β™‚οΈ I didn't update the APP_URL in the .env. Classic!!
Jump to solution
12 Replies
toeknee
toekneeβ€’16mo ago
php artisan storage:link
richeklein
richekleinOPβ€’16mo ago
Thanks for the quick response. The command ran successfully, but the images still do not display in the table or form.
Yuut4
Yuut4β€’16mo ago
I think they have to be saved both ways.
awcodes
awcodesβ€’16mo ago
showing fine for me
awcodes
awcodesβ€’16mo ago
what are the errors in the console for the images
toeknee
toekneeβ€’16mo ago
Fine here too on a quick fresh install
Yuut4
Yuut4β€’16mo ago
in V2 at least the same thing was happening to me and it happened that I had to save the images in the 2 paths for some reason
Solution
richeklein
richekleinβ€’16mo ago
Silly mistake πŸ€¦β€β™‚οΈ I didn't update the APP_URL in the .env. Classic!!
toeknee
toekneeβ€’16mo ago
Classic!
Yuut4
Yuut4β€’16mo ago
so that was my mistake too LOL
richeklein
richekleinOPβ€’16mo ago
I'll leave the post since someone else in the future might make the same mistake....probably me. πŸ˜„
0xBoo
0xBooβ€’16mo ago
i have the problem but for now i can't find a soul.
Want results from more Discord servers?
Add your server