From a6f76d68f4eb09177bdd5821bacfbfaa8892beb7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Mon, 9 May 2011 21:42:28 +0200 Subject: [PATCH] Limit xnetgrp logo to 80*100 size MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- modules/xnetgrp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/xnetgrp.php b/modules/xnetgrp.php index a6a8113..2fda2ef 100644 --- a/modules/xnetgrp.php +++ b/modules/xnetgrp.php @@ -1264,7 +1264,7 @@ class XnetGrpModule extends PLModule $page->trigError('Le fichier n\'est pas une image valide au format JPEG, GIF ou PNG.'); $upload->rm(); return false; - } elseif (!$upload->resizeImage(200, 300, 100, 100, 32284)) { + } elseif (!$upload->resizeImage(80, 100, 100, 100, 32284)) { $page->trigError('Impossible de retraiter l\'image'); return false; } -- 2.1.4