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
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