From a775897756020a94c34e3f2d0ad76e76ba29805d Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Wed, 30 May 2012 02:41:31 +0200 Subject: [PATCH] FileImageValidator: max size 156. No time for more tests right now. This is enough for me. --- lib/form/doctrine/AdForm.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/form/doctrine/AdForm.class.php b/lib/form/doctrine/AdForm.class.php index fbd5226..510622a 100644 --- a/lib/form/doctrine/AdForm.class.php +++ b/lib/form/doctrine/AdForm.class.php @@ -40,9 +40,9 @@ class AdForm extends BaseAdForm 'path' => sfConfig::get('app_default_picture_directory'), 'required' => $this->isNew(), 'is_only_image' => true, - 'max_height' => 200, + 'max_height' => 156, 'min_height' => 128, - 'max_width' => 200, + 'max_width' => 156, 'min_width' => 128, 'mime_types' => array('image/jpeg','image/pjpeg','image/png','image/x-png','image/gif','application/x-shockwave-flash'))); -- 2.1.4