From fd134917f0c5ecb8edd5e16171e7f851e36d9ae6 Mon Sep 17 00:00:00 2001 From: Esenjin Date: Sun, 16 Feb 2025 23:01:40 +0100 Subject: [PATCH] =?UTF-8?q?dimensions=20demand=C3=A9es=20pour=20l'image=20?= =?UTF-8?q?de=20la=20banni=C3=A8re=20"=C3=A0=20propos"=20plus=20coh=C3=A9r?= =?UTF-8?q?ente?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/site-upload.php | 2 +- version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/site-upload.php b/includes/site-upload.php index f0c5999..b6f6284 100644 --- a/includes/site-upload.php +++ b/includes/site-upload.php @@ -66,7 +66,7 @@ class SiteUploadHandler { // VĂ©rifier les dimensions de l'image list($width, $height) = getimagesize($file['tmp_name']); $minWidth = 1200; - $minHeight = 600; + $minHeight = 250; if ($width < $minWidth || $height < $minHeight) { throw new Exception("L'image doit faire au moins {$minWidth}x{$minHeight} pixels"); diff --git a/version.txt b/version.txt index 8cfbc90..8428158 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.1.1 \ No newline at end of file +1.1.2 \ No newline at end of file