Limit xnetgrp logo to 80*100 size
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Mon, 9 May 2011 19:42:28 +0000 (21:42 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Mon, 9 May 2011 20:07:48 +0000 (22:07 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
modules/xnetgrp.php

index a6a8113..2fda2ef 100644 (file)
@@ -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;
         }