Announcement

  •  » Extensions
  •  » only some EXIF data are shown

#1 2015-11-01 13:47:02

Igor Trček
Member
2015-10-16
5

only some EXIF data are shown

Hello/Hi/Greetings,

I have problem, that only some exif data are shown.

EXIF: Date and time
IPTC: Keywords and Caption

Plugin: Exif Wiev, Write metadata

Local files editor:
<?php
$_SESSION['show_metadata'] = true;

$conf['show_exif_fields'] = array(
  'Make',
  'Model',
  'ExifVersion',
  'Software',
  'DateTimeOriginal',
  'FNumber',
  'ExposureBiasValue',
  'FILE;FileSize',
  'ExposureTime',
  'Flash',
  'ISOSpeedRatings',
  'FocalLength',
  'FocalLengthIn35mmFilm',
  'WhiteBalance',
  'ExposureMode',
  'MeteringMode',
  'ExposureProgram',
  'LightSource',
  'Contrast',
  'Saturation',
  'Sharpness',
  );


?>

What I forget ?


Piwigo version: 2.7.4
PHP version: 5.4.38
MySQL version: 5.1.65-log
Piwigo URL: http://www.vborovnici.si/piwigo/picture … p;metadata

Offline

 

#2 2016-03-05 19:28:57

radioactiveman
Member
2016-03-04
2

Re: only some EXIF data are shown

I was investigating a similar issue - as EXIF rating was not shown.

I inspected my file with a small php script:

<html>
<head>
  <title>PHP Test</title>
</head>
<body>
<?php
echo "test1.jpg:<br />\n";
$exif = exif_read_data('IMG_5819.JPG', 'IFD0');
echo $exif===false ? "No header data found.<br />\n" : "Image contains headers<br />\n";

$exif = exif_read_data('IMG_5819.JPG', 0, true);
echo "test2.jpg:<br />\n";
foreach ($exif as $key => $section) {
    foreach ($section as $name => $val) {
        echo "$key.$name: $val<br />\n";
    }
}
?>
</body>
</html>

The rating shows up as:

UndefinedTag:0x4746

Adding this to the local config >> $conf['show_exif_fields'] = array(

displays the rating.

It just is not human friendly.

Maybe something similar is going on in your case.

Offline

 
  •  » Extensions
  •  » only some EXIF data are shown

Board footer

Powered by FluxBB

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