projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9859fd6
)
Pass the Exif driver here so we get an accurate list of supported categories
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 9 Mar 2010 06:45:55 +0000
(
01:45
-0500)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 9 Mar 2010 06:48:54 +0000
(
01:48
-0500)
ansel/lib/Image.php
patch
|
blob
|
history
diff --git
a/ansel/lib/Image.php
b/ansel/lib/Image.php
index
39b12d0
..
39e201a
100644
(file)
--- a/
ansel/lib/Image.php
+++ b/
ansel/lib/Image.php
@@
-1230,7
+1230,8
@@
class Ansel_Image Implements Iterator
public function getAttributes($format = false)
{
$attributes = $GLOBALS['ansel_storage']->getImageAttributes($this->id);
- $fields = Horde_Image_Exif::getFields();
+ $exif = Horde_Image_Exif::factory($GLOBALS['conf']['exif']['driver'], !empty($GLOBALS['conf']['exif']['params']) ? $GLOBALS['conf']['exif']['params'] : array());
+ $fields = Horde_Image_Exif::getFields($exif);
$output = array();
foreach ($fields as $field => $data) {