Allow smaller images
This commit is contained in:
1 parent
0de0b43b42
commit
d5d3b72a31
1 file changed
+1
-1
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user