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

Hi,

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

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 component?

I think it would be nice to at least see the image, even if it's not editable.
Was this page helpful?