FileUpload edit picsum.photos

hi all, i've simply this in my form:

        return $form
            ->schema([
                FileUpload::make('cover_img')
                    ->label('Immagine di copertina')
                    ->helperText('max 2MB')
                    ->image()
                    ->directory('castings')
                    ->maxSize(2048)
                    ->required(),
...


But in the seeder i've used picsum.photos to fill the cover_img field. And so i've values like this: https://picsum.photos/id/2/640/343

In this scenario when i try to edit i've a message error, in the image.

It's possibile to skip this?
Schermata_2024-05-31_alle_11.34.09.png
Solution
the file needs to exist in the storage disk, not a url
Was this page helpful?