About Image EXIF data

Adds the EXIF data of an image to it's object.

Category 1Admin Helpers
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Category 2Development Tools
Modules that have more to do with assisting development of a site rather than managing its content.
Category 3Photo/Video/Audio
Modules that perform some function related to media such as photos and audio/video.
Release StateAlpha
Non-stable. Not yet intended for use in production environments. *
Authornico
Module Version0.7.0
Class NameImageEXIF
Compatibility2.5, 2.6, 2.7
Date AddedNovember 20, 2014
Last UpdatedMay 7, 2015
Recommended ByNew recommendations may take up to 1 day to appear.

Instructions

This module's files should be placed in /site/modules/ImageEXIF/
How to install or uninstall modules

README

ImageEXIF

Adds the EXIF data of an image to it's object.

There are some aliases (e.g. "exposureTime" and "tv") and unformatted values (e.g. "focalLengthUnformatted") included.

Example for which EXIF data get's added:

{
"aperture":5.6,
"apertureUnformatted":"56\/10",
"av":5.6,
"exposure":"1\/320",
"exposureTime":"1\/320",
"tv":"1\/320",
"shutterTime":"1\/320",
"cameraMake":"Canon",
"cameraModel":"Canon EOS 1100D",
"name":"image",
"filename":"image.jpg",
"filesize":2346963,
"mimeType":"image\/jpeg",
"height":2056,
"width":3088,
"artist":null,
"photographer":null,
"comment":"",
"copyright":null,
"flash":"Flash did not fire, compulsory flash mode",
"flashUnformatted":16,
"focalLength":"250mm",
"focalLengthUnformatted":250,
"iso":640,
"ISO":640,
"orientation":1,
"orientationUnformatted":1,
"date":"2013-10-27",
"time":" 15:53:07",
"timestamp":1382885587,
"whiteBalance":"Daylight",
"whiteBalanceUnformatted":1
}

How to use (example):

<?php
$image = $page->images->first();
echo 'ISO: '.$image->EXIF->iso; // $image->exif->iso would work, too?>

Comments

No comments yet. Be the first to post!

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.