Announcement

#1 2013-03-29 11:59:28

klunz
Guest

Metadata in png-files

Hello everyone,

I have successfully installed piwigo, and first of all, thank you very much for this great piece of software!
After some tinkering I manged to get Exif and Iptc metadata to show up with the pictures.
My problem however is the following:
The Metadata is only shown for jpeg-files.

I have used a raw file, and exported it to jpeg as well as to png and stores the Metadata in them. DigiKam tells me that the Exif- and the Iptc-Metadata is exactly the same in both pictures.

However, when i upload them to my site, the Metadata is only shown for the jpeg version of the picture.

My config.inc.php looks like this:

Code:

<?php 
date_default_timezone_set('Europe/Berlin'); // change it with your Timezone

$conf['file_ext'] = array('jpg','JPG','jpeg','JPEG',
                          'png','PNG','gif','GIF','mpg','zip',
                          'avi','mp3','ogg');

// picture_ext : file extensions for picture file, must be a subset of
// file_ext
$conf['picture_ext'] = array('jpg','JPG','jpeg','JPEG',
                             'png','PNG','gif','GIF');

$conf['show_iptc'] = true;
$conf['use_iptc'] = true;
$conf['use_iptc_mapping'] = array(
  'keywords'        => '2#025',
  );

$conf['show_exif'] = true;
$conf['use_exif'] = true;
$conf['show_exif_fields'] = array(
  'Make',
  'Model',
  'DateTimeOriginal',
  'COMPUTED;ApertureFNumber',
  'ExposureTime',
  );
$conf['use_exif_mapping'] = array(
  'date_creation' => 'DateTimeOriginal',
  );

?>

Right now, I have no idea what I am missing, any help is greatly appreciated.

Thank you very much in advance, and Happy Easter everyone
Tobi

 

#2 2016-09-27 11:46:10

mrq
Guest

Re: Metadata in png-files

Happy Easter you too :-)

Is this situation the state of the art in 2016, too, or now is it possible to use 'exif' tags written in png files?

 

Board footer

Powered by FluxBB

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