exifreader

This extension allows you to read an EXIF data (including thumbnails) from your JPEG and TIFF images.


Example

Yii::import('application.extensions.exifreader.CExifReader');
or add to your config:
'components'=>array(
    'CExifReader' => array(
        'class'=>'ext.exifreader.CExifReader',
    ),
),
then:
$exifReader = new CExifReader;
// or $exifReader = Yii::app()->CExifReader;
 
$exif->file = PATH_TO_YOUR_FILE;
$data = $exif->getExifData(array(
    array('FILE', array('SectionsFound')),
    'COMPUTED',
    'THUMBNAIL',
    array('IFD0', array('UndefinedTag:0xC4A5')),
    array('EXIF', array('MakerNote')),
));
$thumbnail = $exif->getExifThumbnail();

Demo

I tried exifreader using this photo: P1070954.JPG. And here's the result:

Thumbnail readed from file:

And EXIF data: FILE, COMPUTED:

FileNameP1070954.JPG
FileDateTime1205592322
FileSize2297804
FileType2
MimeTypeimage/jpeg
htmlwidth="2112" height="2816"
Height2816
Width2112
IsColor1
ByteOrderMotorola0
ApertureFNumberf/2.8
Thumbnail.FileType2
Thumbnail.MimeTypeimage/jpeg

Download

You can download it from Yii's page

License