defaultImageUrl not working after upgrade to v4
While I was still on v3, I was using the ImageColumn on my Author and Book table to display cover art and Author avatars. I was also using an ImageEntry in my infolists for those 2 same resources. In the case of not having an image, I am using the defaultImageUrl method on both the column and entry which was working great on v3. I am now trying to upgrade to v4, however, and it seems like the default images are only showing if the column in my DB is NOT null and the image it is trying to reference is not found. I am good with it showing when the image is not found but I also want the default image to also show if the column in the table IS null. Is there something that I'm missing to get this functionality to work the same as it did in v3?
1 Reply
Looks like this is a known issue that has already been reported in the repo. https://github.com/filamentphp/filament/issues/17295
GitHub
ImageColumn remains empty in Filament v4 · Issue #17295 · filamen...
Package filament/filament Package Version v4.0.0 Laravel Version v12.3.0 Livewire Version v3.6.4 PHP Version PHP 8.3.24 Problem description I am using ImageColumn to display the Filament Avatar URL...