diff --git a/app/Jobs/Tasks/SaveShopeeSellerImagesTask.php b/app/Jobs/Tasks/SaveShopeeSellerImagesTask.php index f55540b..4f2b53d 100644 --- a/app/Jobs/Tasks/SaveShopeeSellerImagesTask.php +++ b/app/Jobs/Tasks/SaveShopeeSellerImagesTask.php @@ -174,6 +174,11 @@ private static function getFilteredImages(string $raw_html, string $proxy, strin continue; } + if ($height > $width) + { + continue; + } + $interventionImage->resize(800, null, function ($constraint) { $constraint->aspectRatio(); });