Add file conversion to jpeg
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
d4057ff08f
commit
74867cb09f
|
@ -71,6 +71,7 @@ class Form extends Model implements HasMedia
|
|||
->singleFile()
|
||||
->maxWidth(fn () => 500)
|
||||
->forceFileName(fn (Form $model, string $name) => $model->slug)
|
||||
->convert(fn () => 'jpg')
|
||||
->registerMediaConversions(function (Media $media) {
|
||||
$this->addMediaConversion('square')->fit(Manipulations::FIT_CROP, 400, 400);
|
||||
});
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit d2f7f16e88fc3062573fe38e0e9ddef6f2b0ea55
|
||||
Subproject commit 59d7647720ab2791e954944b38c986143db9de8e
|
Loading…
Reference in New Issue