PHP Array Get Image Properties

Array Get Image Properties

<?
$i = @getimagesize("a.jpg");
echo "Width: $i[0] Height: $i[1]";
?>