php code for Image information




$info=getimagesize("image.jpg");

// display details
echo "Image width: ".$info[0]."
";
echo "Image height: ".$info[1]."
";
echo "Image type: ".$info[mime]."
";
echo "Image size: ".$info[bits]."
";

?>



PHP Free Code

Posted in |