FilamentF
Filament15mo ago
ericmp

How To Apply `->imageEditor` on FileUpload v2?

I want the user to be able to use the image editor when uploading an image. But in v2 is not available. What would u do to achieve to let use the image editor? Update to v3? Or is there a way i dont know that this may be achieved in v2? like somehow creating a custom component like v3? but im not sure if that can be done.

Forms\Components\SpatieMediaLibraryFileUpload::make('title')
    ->avatar()
    ->maxSize(1024)
    ->imageEditor() // not available on v2
Was this page helpful?