<?php
include 'img_info.php';
$info = img_info::getimageinfo("https://some_site.com/dir/image.jpg");
if ($info !== false) {
print_r( $info );
} else {
echo "Error - Unable to get image information";
}
//Array ( [0] => 73 [1] => 116 [2] => 2 [3] => width="73" height="116" [bits] => 8 [channels] => 3 [mime] => image/jpeg )
|