From: Gustavo Martin Morcuende Date: Wed, 30 May 2012 00:41:31 +0000 (+0200) Subject: FileImageValidator: max size 156. X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=a775897756020a94c34e3f2d0ad76e76ba29805d;p=mobi%2F.git FileImageValidator: max size 156. No time for more tests right now. This is enough for me. --- 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')));