Announcement

  •  » Extensions
  •  » MoreExif_EOS300D-40D: now for all cameras!

#1 2009-05-13 15:12:03

Eric B
Member
2003-10-02
90

MoreExif_EOS300D-40D: now for all cameras!

The mod "MoreExif" is still called EOS300D-40D, but can be used for all cameras.
I've contributed to enhance the mod from EX-FTB, which basically consists on updating the picture_metadata.inc.php file, inspired from an older version of the MOD and some other older sources e.g. from older mod from alcz.

Last edited by Eric B (2009-05-17 23:17:13)

Offline

 

#2 2009-05-14 00:26:14

Eric B
Member
2003-10-02
90

Re: MoreExif_EOS300D-40D: now for all cameras!

Main improvements:
1) do not consider only the EOS APS-C but let the meta data be shown for all canon cameras
2) use different crop factor to calculate the 35mm focal length equivalent (started for most used DSLR)
3) add/comment some fields to be displayed.

My current local config file is as follow:

Code:

$conf['show_exif_fields'] = array('Model',
          'ExposureTime',
          'ExposureBiasValue',
          'FocalLength',
                                  'FNumber', 
                                  'ISOSpeedRatings', 
                                  'DateTimeOriginal',
                                  'Flash',
                                  'Lens',
                                  'ModeArray', 
                                  'UndefinedTag:0x0095' 
        )

Last edited by Eric B (2009-05-17 23:16:23)

Offline

 

#3 2009-05-14 18:08:15

gbo
Member
Martigues
2006-11-01
456

Re: MoreExif_EOS300D-40D: now for all cameras!

Sorry for my english!!!!!

It's a good idea to merge all the improvement in one file.

I can't read the above file.

Can you send me the file by mail ?
I will test the result on my local site.
And after i will put the updated file in the extensions.

Offline

 

#4 2009-05-14 22:01:04

Eric B
Member
2003-10-02
90

Re: MoreExif_EOS300D-40D: now for all cameras!

"save as" on the link does not work?
as I cannot attach file using the mail feature of the forum, I suggest you use it to send me your email address.

Last edited by Eric B (2009-05-14 22:02:21)

Offline

 

#5 2009-05-17 15:21:57

el ninjo
Translation Team
2006-09-24
40

Re: MoreExif_EOS300D-40D: now for all cameras!

i have the following problem with the plugin:

on pictures (scanned negatives) i become this errors:

Notice: Undefined index: Make in /web/www/areasu/html/gallery/include/picture_metadata.inc.php on line 46

Notice: Undefined index: Model in /web/www/areasu/html/gallery/include/picture_metadata.inc.php on line 50

Warning: Division by zero in /web/www/areasu/html/gallery/include/picture_metadata.inc.php on line 156

Warning: Cannot modify header information - headers already sent by (output started at /web/www/areasu/html/gallery/include/picture_metadata.inc.php:46) in /web/www/areasu/html/gallery/include/page_header.php on line 98


on pictures with correct metadata is all ok

Last edited by el ninjo (2009-05-17 15:24:34)

Offline

 

#6 2009-05-18 09:53:39

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: MoreExif_EOS300D-40D: now for all cameras!

el ninjo wrote:

on pictures (scanned negatives) i become this errors:

Notice: Undefined index: Make in /web/www/areasu/html/gallery/include/picture_metadata.inc.php on line 46

How scanned negatives can get "Make" in Exif data? You may get the scanner trademark.


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#7 2009-05-19 00:19:04

Eric B
Member
2003-10-02
90

Re: MoreExif_EOS300D-40D: now for all cameras!

The code extra contains the following:

Code:

    if (in_array('Make', $exif))    
  { $make = trim($exif['Make']); }
    else 
      { $make = 'n/a'; }
    if (in_array('Model', $exif)) 
  { $model = trim($exif['Model']); }
    else 
       { $model ='n/a'; }

Therefore, I do not understand why it retrieve an Undefined index.

In your gallery, I see "canon canoscan 8800F" for the picture taken in Gorges du Verdon.
Moreover, you should enhance the CalculateCropFactor() method for your G6, the default 6 is not correct for your camera.
According to these spec, it should be 35/7.2 = 4.86

Offline

 

#8 2009-05-21 09:04:35

el ninjo
Translation Team
2006-09-24
40

Re: MoreExif_EOS300D-40D: now for all cameras!

The Errors are only on scanned Pictures without a makernote: http://www.areasunshine.de/gallery/pict … tegory/169

I will add a exif-Makernote für these Pictures.


How can i add more spec's for other cameras, in my gallery are pictures form a old Powershot A20  (6,64) , Powershot A1000  (5.65) and the G6 (4,86)

Last edited by el ninjo (2009-05-21 09:27:46)

Offline

 
  •  » Extensions
  •  » MoreExif_EOS300D-40D: now for all cameras!

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact