We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting the error
Version: "plank/laravel-mediable": "^5.9.1"
"plank/laravel-mediable": "^5.9.1"
defined in boot func in app/Providers/AppServiceProvider.php
app/Providers/AppServiceProvider.php
ImageManipulator::defineVariant( 'thumb', ImageManipulation::make(function (Image $image, Media $originalMedia) { $image->fit(300, 300); })->outputWebpFormat() );
The text was updated successfully, but these errors were encountered:
I am getting the same issue. plus i am getting:
Call to undefined method Intervention\Image\Image::fit()
Any solution?
Sorry, something went wrong.
Hi. @wisammways are you using laravel-mediable 6 with intervention/image 3? If so they changed fit and some other methods in this version:
The resizing methods resize(), fit(), widen() and heighten() have been completely rebuild and are now handled by resize(), resizeDown, scale(), scaleDown(), cover(), coverDown(), pad() and contain()
Check upgrade guide
@EriBloo Thank you It fixed the fit() issue.
No branches or pull requests
Getting the error
Version:
"plank/laravel-mediable": "^5.9.1"
defined in boot func in
app/Providers/AppServiceProvider.php
The text was updated successfully, but these errors were encountered: