diff --git a/app/Form/Models/Form.php b/app/Form/Models/Form.php index 5b3bb34b..b227ebdb 100644 --- a/app/Form/Models/Form.php +++ b/app/Form/Models/Form.php @@ -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); }); diff --git a/packages/medialibrary-helper b/packages/medialibrary-helper index d2f7f16e..59d76477 160000 --- a/packages/medialibrary-helper +++ b/packages/medialibrary-helper @@ -1 +1 @@ -Subproject commit d2f7f16e88fc3062573fe38e0e9ddef6f2b0ea55 +Subproject commit 59d7647720ab2791e954944b38c986143db9de8e