© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
ocram82

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(),
...
        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
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
Preview image
Solution
the file needs to exist in the storage disk, not a url
Jump to solution
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

FileUpload on edit page
FilamentFFilament / ❓┊help
3y ago
FileUpload Edit Page Preview
FilamentFFilament / ❓┊help
3y ago
FileUpload on edit page
FilamentFFilament / ❓┊help
3y ago
FileUpload: Default values for edit Form
FilamentFFilament / ❓┊help
10mo ago