Allow smaller images

This commit is contained in:
nikolark committed 2017-09-12 18:39:56 +02:00
1 parent 0de0b43b42
commit d5d3b72a31
1 file changed
+1 -1
+1 -1
View File
@@ -41,7 +41,7 @@ function neuf_handle_upload_prefilter( $file ) {
return $file;
}
$errors = array();
$minimum = array( 'width' => 640, 'height' => 480);
$minimum = array( 'width' => 512, 'height' => 480);
$img = getimagesize( $file['tmp_name'] );
$width = $img[0];