image dimension in php code args
I used this code, but nothing happen, maybe there is something small detail missing thankyou who ever may help $mimes = array( ‘image/jpeg’); if( !in_array( $file[‘type’], $mimes ) ) return $file; $image = getimagesize($file[‘tmp_name’]); $minimum = array( ‘width’ => ‘400’, ‘height’ => ‘400’ ); $maximum = array( ‘width’ => ‘400’, ‘height’ => ‘400’ ); $image_width … Read more