In association with exif_read_data:
<?php
# The tagnames can vary in different cameras
$imgdir = "/path_to_img/";
$img_file = "image_file.jpg";
echo $img_file . " <sub>TEST</sub>
<br />";
echo '<img src="' . $imgdir . $img_file . '" alt="'
. $img_file . '" title="' . $img_file . '" width="400" /><br /><br />';
$xf_data = exif_read_data($imgdir . $img_file);
$tagg = exif_tagname(0X10F);
echo '<br>' . $tagg . ' >>> ' . $xf_data[$tagg];
$tagg = exif_tagname(0X110);
echo '<br>' . $tagg . ' >>> ' . $xf_data[$tagg];
$tagg = exif_tagname(0X132);
echo '<br>' . $tagg . ' >>> ' . $xf_data[$tagg];
$tagg = exif_tagname(0XA002);
echo '<br>' . $tagg . ' >>> ' . $xf_data[$tagg] . 'px';
$tagg = exif_tagname(0XA003);
echo '<br>' . $tagg . ' >>> ' . $xf_data[$tagg] . 'px';
?>