© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•8mo ago•
2 replies
charlie

[Feature idea] Let FileUpload component display "blob" images

Hi,

In both
ImageColumn
ImageColumn
and
ImageEntry
ImageEntry
, there is a code which checks if state starts with
'data:'
'data:'
.

public function getImageUrl(?string $state = null): ?string
{
    if ((filter_var($state, FILTER_VALIDATE_URL) !== false) || str($state)->startsWith('data:')) {
        return $state;
    }
    // ...
public function getImageUrl(?string $state = null): ?string
{
    if ((filter_var($state, FILTER_VALIDATE_URL) !== false) || str($state)->startsWith('data:')) {
        return $state;
    }
    // ...


Why not have the same thing in
FileUpload
FileUpload
component?

I think it would be nice to at least see the image, even if it's not editable.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Image display in FileUpload component
FilamentFFilament / ❓┊help
2y ago
filepond fileupload component
FilamentFFilament / ❓┊help
2y ago
Translating FileUpload component
FilamentFFilament / ❓┊help
2y ago
Images uploaded without the FileUpload component cannot be displayed.
FilamentFFilament / ❓┊help
2y ago