diff --git a/app/Http/Controllers/StoryController.php b/app/Http/Controllers/StoryController.php index 5f77d5d4..7398f7f1 100644 --- a/app/Http/Controllers/StoryController.php +++ b/app/Http/Controllers/StoryController.php @@ -130,6 +130,9 @@ class StoryController extends Controller if($story->type === 'photo') { $img = Intervention::make($path); $img->crop($width, $height, $x, $y); + $img->resize(1080, 1920, function ($constraint) { + $constraint->aspectRatio(); + }); $img->save($path, config('pixelfed.image_quality')); }