Que yo sepa, en cliente (javascript) no puedes hacer nada, quizas con algun activeX puedas comprobar el tamaño en pixeles de la imagen.
En el script php que tienes arriba puedes usar:
Código PHP:
list($width, $height) = getimagesize($_FILES['logo']);
Ahí tienes en las variables $width y $height el tamaño en pixeles de la imagen. Con esos datos puedes validar la imagen o no. Tambien puedes usar para cambiar el tamaño algo como:
Código PHP:
$newwidth = 200;
$newheight = 100;
$file_tmp = $_FILES['logo']['tmp_name'];
$resized_img = imagecreatetruecolor($newwidth,$newheight);
$new_img = imagecreatefromgif($file_tmp);
imagecopyresized($resized_img, $new_img, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
Espero que te sirva!