I've created this to get the size of several images I have in a directory....
$image = file_get_contents("$fileLocation");
$source = imagecreatefromstring($image);
$width = imagesx($source);
$height = imagesy($source);
echo " width : ", $width, " $nbsp; height : "...