/[drupal]/contributions/modules/docapi/plugins/docapi_image/docapi_image.module
ViewVC logotype

Diff of /contributions/modules/docapi/plugins/docapi_image/docapi_image.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.1, Tue Jul 8 04:24:47 2008 UTC revision 1.1.2.2, Tue Jul 8 06:01:48 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2    // $Id$    // $Id: docapi_image.module,v 1.1.2.1 2008/07/08 04:24:47 bradfordcp Exp $
3    
4    /**    /**
5     * @file     * @file
# Line 104  Line 104 
104    function docapi_image_docapi_metadata($path, $mimetype) {    function docapi_image_docapi_metadata($path, $mimetype) {
105      // Return just the metadata for the specified file      // Return just the metadata for the specified file
106      $meta = array();      $meta = array();
107    
108        $exif = exif_read_data($path, 0, true);
109        foreach ($exif as $key => $section) {
110          foreach ($section as $name => $val) {
111            $meta[$key . $name] = $val;
112          }
113        }
114    
115      return $meta;      return $meta;
116    }    }

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.2