In spatie media library plugin (official) I have an issue with image quality and image editor

I'm using following form field: SpatieMediaLibraryFileUpload::make('attachments') ->collection('attachments') ->multiple() ->openable() ->reorderable() ->imageEditor() ->imageResizeMode('cover') ->imageResizeTargetWidth('900') ->acceptedFileTypes(['image/jpeg', 'image/png', 'image/gif', 'application/pdf']) ->panelLayout('grid') Issue 1: Just after uploading the image, it looks fine in the form field. When coming back to the form after navigating around. The images look blurry and zoomed too close. Issue 2: When using the imageResizeTargetWidth option in combination with the imageEditor option, I cannot use the selection rectangle of the image editor anymore, it's height is 0 and I cannot resize it. Anyone ran into these issues too? Txh!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server