From cd400344c7f049b3f02bfc58739f2d238043d592 Mon Sep 17 00:00:00 2001 From: coolbigbear Date: Fri, 20 Dec 2019 03:44:22 +0000 Subject: [PATCH] FINAL BUILD Fixed broken images loaded by faker --- imgbook/database/factories/ImageFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgbook/database/factories/ImageFactory.php b/imgbook/database/factories/ImageFactory.php index b1dbace..6405eb8 100644 --- a/imgbook/database/factories/ImageFactory.php +++ b/imgbook/database/factories/ImageFactory.php @@ -10,7 +10,7 @@ static $post_id = 2; - $path = $faker->image($dir = '/home/vagrant/laravel/laravel-web-app/imgbook/storage/app/public/images/tmp', $width = 640, $height = 480); + $path = $faker->image($dir = '/home/vagrant/laravel/laravel-web-app/imgbook/storage/app/public/images/tmp', 500, 500, '', true, false); $path = explode('public', $path); $path = '/storage' . $path[1];