[Solved] PHP Parse JPEG File and retrieve image dimensons


$filename="437-1.jpg.JPG";
$size = getimagesize($filename);
print_r($size);
if ($size) {
   echo 'Width:' . $size[0] . 'px <br>';
   echo 'Height:' . $size[1] . 'px <br>';
}

But first spend some time and learn PHP syntax.

2

solved PHP Parse JPEG File and retrieve image dimensons