Display EXIF Pixel Dimensions (full size image)

jason_
jason_'s picture

Joined: 2011-05-22
Posts: 2
Posted: Sun, 2011-05-22 13:14

Hi,

I am trying to display the pixel dimensions of the original version of each image with the EXIF module. It seems like this should be easy to implement, but I can't seem to get the code right...

I tried to add:

Quote:
"ImageWidth" => array("IFD0", "ImageWidth", t("Image Width"), ),
"ImageLength" => array("IFD0", "ImageLength", t("Image Height"), ),

to the array in the exif.php file, but nothing seems to happen.

It seems like that or using the PixelXDimension and PixelYDimension values from "ExifIFD" should be able to be used to output the original dimensions of each image? Or am I looking in the wrong place altogether?

Any ideas, or help would be much appreciated...

Thanks in advance,
Jason