Announcement

#1 2018-03-03 01:15:56

todd
Member
2014-11-27
45

Lens Model info not displaying for Olympus lenses

Hello/Hi/Greetings,

I like to have my camera and lens info listed with my photos. I have exif view going and the local files editor going with this config:

$conf['show_exif_fields'] = array(
  'Model',
  'UndefinedTag:0xA434',
  'DateTimeOriginal',
  'FNumber',
  'ExposureBiasValue',
  'ExposureTime',
  'ISOSpeedRatings',
  'FocalLength',
  'FocalLengthIn35mmFilm',
  'SubjectDistance',
  'ExposureMode',
  'MeteringMode',
  'ExposureProgram',
  'Software',

This works with my Pentax cameras and lenses, using exif tool to populate lens info from maker notes or manually when I need to. It's the  'UndefinedTag:0xA434' that makes it work to show lens model info.

I just got a Olympus EM10 MII MFT camera and find that it doesn't show the lens info on Piwigo, even though it's in the same exif field as with my Pentax cameras. I've tried a bunch of stuff to get it to work with no success yet. Even if I remove the lens model info using exiftool and add it back, it still won't show on piwigo. Any suggestions?


    Piwigo 2.9.3
    Operating system: Linux
    PHP: 5.3.29 (Show info) [2018-03-02 18:07:15]
    MySQL: 5.5.5-10.0.34-MariaDB-cll-lve [2018-03-02 18:07:15]
    Graphics Library: External ImageMagick 6.7.2-7
    Piwigo URL: http://www.tmphillips.com/pg

Offline

 

#2 2018-03-03 05:51:09

executive
Member
2017-08-16
1214

Re: Lens Model info not displaying for Olympus lenses

http://piwigo.org/forum/viewtopic.php?id=26580

What's interesting is that 'tools/metadata.php' is able to read lens info, but '/admin/include/functions_metadata.php' is not. It seems that there's opportunity for improvement there.

Last edited by executive (2018-03-03 06:03:46)

Offline

 

#3 2018-03-03 06:39:42

todd
Member
2014-11-27
45

Re: Lens Model info not displaying for Olympus lenses

executive wrote:

http://piwigo.org/forum/viewtopic.php?id=26580

What's interesting is that 'tools/metadata.php' is able to read lens info, but '/admin/include/functions_metadata.php' is not. It seems that there's opportunity for improvement there.

Thanks i had skimmed that article before but didn't catch the part about doing the sample check...

So I did the sample.jpg test at the metadata.php and it doesn't show any lens info in the Olympus jpeg exif, but I can check the jpeg in other apps and it's there under Lens Model.

I did the sample.jpg using a Pentax file and it was very messy in metadata.php, but my added lens info is at the very bottom at  [UndefinedTag:0xA434] =>

Is there a trick that I didn't catch yet from that article?

Offline

 

#4 2018-03-03 09:28:44

executive
Member
2017-08-16
1214

Re: Lens Model info not displaying for Olympus lenses

I have the same camera as you, and it shows my lens ...

https://mountainmanjoe.ca/gallery/tools/sample.jpg
https://mountainmanjoe.ca/gallery/tools/metadata.php

But I have PHP 5.6. Maybe try upgrading that.

Last edited by executive (2018-03-03 09:31:31)

Offline

 

#5 2018-03-03 22:53:52

todd
Member
2014-11-27
45

Re: Lens Model info not displaying for Olympus lenses

executive wrote:

I have the same camera as you, and it shows my lens ...

https://mountainmanjoe.ca/gallery/tools/sample.jpg
https://mountainmanjoe.ca/gallery/tools/metadata.php

But I have PHP 5.6. Maybe try upgrading that.

If you could do me a favor, it'd be greatly appreciated, and that would be to drop this attached sample file onto your server temporarily just to see if shows the lens tag or not.. It's definitely in the exif.. I completely understand if this is too much to ask and you choose to ignore me haha...

This way it would point me in the right direction knowing that php or some difference in piwigo config could make the difference versus something I could do to tweak the exif..

Offline

 

#6 2018-03-04 00:33:19

executive
Member
2017-08-16
1214

Re: Lens Model info not displaying for Olympus lenses

No problem
http://gallery.mountainmanjoe.ca/tools/metadata.php (I can see the lens at the bottom)
How do you like the Oly 9-18?

It's a great shot. You should try to get rid of the halo around the roof.

Offline

 

#7 2018-03-04 03:26:24

todd
Member
2014-11-27
45

Re: Lens Model info not displaying for Olympus lenses

executive wrote:

No problem
http://gallery.mountainmanjoe.ca/tools/metadata.php (I can see the lens at the bottom)
How do you like the Oly 9-18?

It's a great shot. You should try to get rid of the halo around the roof.

Well there you have it! Has to either be something different how you have Piwigo set up, or php as you noted. Thanks for doing the sample for me.

So far I like the 9-18 but haven't been out of the back yard with it yet. That and the 40-150 R are the only lenses I have so far. Got the 9-18 used in great shape for only $190 US.

Thanks about the shot.. Just first test shots learning the camera... I saw that halo but didn't care for just a quick process job on a back yard test shot.. Was intentionally pushing thing to see the differences in latitude from what I am used to with my FF dslr.

Offline

 

#8 2018-03-04 03:42:08

executive
Member
2017-08-16
1214

Re: Lens Model info not displaying for Olympus lenses

That's a great price.

Last edited by executive (2018-03-04 03:43:23)

Offline

 

#9 2018-03-12 03:59:17

todd
Member
2014-11-27
45

Re: Lens Model info not displaying for Olympus lenses

executive wrote:

That's a great price.

Switched to PHP 5.6 and it fixed it. ;) thanks again for your help.

Offline

 

#10 2018-03-12 07:23:03

executive
Member
2017-08-16
1214

Re: Lens Model info not displaying for Olympus lenses

Glad to hear it :)
Would love to see your gallery when it's ready.

Offline

 

#11 2018-03-12 09:23:08

eliz82
Member
Romania
2016-04-27
281

Re: Lens Model info not displaying for Olympus lenses

LensName at address A434 as string is something introduced in CIPA exif specifications v2.3 and appeared in cameras and software starting with 2012. Before that every producer had a different a complicated way of putting some kind of lensinfo in the exif.
It's normal PHP 5.3 is not able to read that, it's probably released before 2012.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact