From ebbcd617393c83364699592dfeca8c6e7c3a578a Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 8 Oct 2010 15:34:02 -0300 Subject: CVS update --- README.txt | 65 +++++++++++++++++++++++++------------------------------------- 1 file changed, 26 insertions(+), 39 deletions(-) (limited to 'README.txt') diff --git a/README.txt b/README.txt index e25757a..a0d5173 100755 --- a/README.txt +++ b/README.txt @@ -1,3 +1,5 @@ +// $Id: + README file for the Exif Drupal module. @@ -19,58 +21,43 @@ The metadata tags defined in the Exif standard cover a broad spectrum including camera. * Descriptions and copyright information. -Administrators can choose what Exif tags they want to display, and control the -order of appearance. +Administrators can choose via CCK fields which Exif information are read. At this time, this module supports Exif information only with JPEG files. [1] Reference: http://en.wikipedia.org/wiki/Exchangeable_image_file_format -Requirements -************ - -This module requires the PHP Exif Library (PEL), http://sourceforge.net/projects/pel - -Your PHP must be compiled in with --enable-exif. Windows users must also have -the mbstring extension enabled. - -PEL itself requires PHP version 5. -It does NOT work under PHP 4. +Requirements and Constraints +**************************** -This module has been tested with PEL version 0.91. +CCK with at least textfields enabled. +If you use a module like imagefield. It's only possible to have one image per node!! +If there are more than one images per node, only the exif data of one image is read! -And of course, this module also requires Drupal (version 5.0). This module won't -do anything without the Image module (http://drupal.org/project/image), as Exif -data is displayed only on image nodes. +IMPORTANT: If you are using imagefield, do not call the content type "image"!!! Image +is reserved for using the Image module. If you call your content type image and you are +using imagefield, the module is not going to work. -Installation +Usage ************ -1. Extract the 'exif' module directory, including all its subdirectories, into - your Drupal modules directory. - -2. Download and extract the PEL archive into the modules/exif/pel - directory. When you're finished the directory structure should look something - like: +After installing it you can go to your CCK nodetype. It supports both the image module +aswell as the imagefield module. Let's say you have an content type "photo". Go to your +cck settings and add a new field. For the name of the field you need to follow the following +naming conventions: - drupal/ - sites/ - example.com/ - modules/ - exif/ - pel/ - README - INSTALL - Pel.php - PelJpeg.php - ... - -3. Enable the Exif module on your site's administer > site building > modules - page. A database table will automagically be created at this point. +Example: +#1 field_exif_exposuretime -> this would read the ExposureTime of the image and save it +in this field. -4. Go to administer > site configuration > exif settings, and select what Exif - tags to display. +#2 field_ifd0_datetime -> this would read the date time (2009:01:23 08:52:43) of the image. +as a field_type you can take for example a normal textfield, but also a date field would be +possible. +General rule is: [field]_[section]_[name] +Under admin/settings/exif you can see a list of all possible information. These informations +are taken from the image "sample.jpg". I may not contain all tags available. If you are looking +for some specific tags you can just replace this image with your own image. \ No newline at end of file -- cgit v1.2.3