FileUpload component doesn't show uploaded image
Hi all! I've mostly been lurking here, but I've come across a problem with the
FileUpload
component I can't figure out. When I select an image with it, it uploads perfectly and places it in the correct folder, but when viewing the resource, it's stuck on loading the image (see screenshot). In the network inspector of my browser, I can see it retrieves the image successfully, but it's stuck on "waiting for size". What am I doing wrong here?
I created an additional driver for storing the image uploads, which is set via ENV-variables. The picture shows up correctly in the ImageColumn
of the table builder.
ImageResource.php form()
config/filesystems.php
ImageResource.php table()

2 Replies
php artisan storage:link ?
APP_URL (.env)?
I hadn't heard of that command yet, thanks for the tip! Turns out I'm an idiot, and I had http and https mixed up in the ENV variables. So that ended up being a quick fix.
Thanks again for your reply!