Announcement

  •  » Requests
  •  » EXIF / ImageDescription to Description in Piwigo

#1 2023-02-05 18:26:57

roooomaaaan
Member
2022-10-11
7

EXIF / ImageDescription to Description in Piwigo

It would be nice if synchronization put data from EXIF / ImageDescription to Description in Piwigo

Offline

 

#2 2023-02-05 19:36:52

erAck
Only trying to help
2015-09-06
2027

Re: EXIF / ImageDescription to Description in Piwigo

Or even 0x9286 UserComment because 0x010e ImageDescription is restricted to plain ASCII (which quite some software and users don't get right).

However, if your image editing software also writes IPTC fields as well then there would be the comment field and you could activate IPTC in your local config like this:

Code:

// use_iptc: Use IPTC data during database synchronization with files
// metadata
$conf['use_iptc'] = true;

// use_iptc_mapping : in which IPTC fields will Piwigo find image
// information ? This setting is used during metadata synchronisation. It
// associates a piwigo_images column name to a IPTC key
$conf['use_iptc_mapping'] = array(
  'keywords'        => '2#025',
  // only date overrides EXIF DateTime 'date_creation'   => '2#055',
  'author'          => '2#080', // not 2#122, see https://piwigo.org/forum/viewtopic.php?pid=168381#p168381
  'name'            => '2#005',
  'comment'         => '2#120'
  );

Do not use the default use_iptc_mapping of the default config because date_creation is only the date and would override the EXIF date+time value. That only would make sense if there wasn't an EXIF date+time at all.


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2023-02-05 19:44:46

roooomaaaan
Member
2022-10-11
7

Re: EXIF / ImageDescription to Description in Piwigo

I use standard iPhone app Photos. It write photo's description into exif, iptc fields are empty

Offline

 

#4 2023-02-15 16:41:20

BigIsland270972
Member
Norway
2022-03-15
374

Re: EXIF / ImageDescription to Description in Piwigo

Hello. Also check out "Manage Properties Photos"
https://piwigo.org/ext/extension_view.php?eid=783

Last edited by BigIsland270972 (2023-02-15 16:41:37)


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 

#5 2023-02-24 20:59:57

BigIsland270972
Member
Norway
2022-03-15
374

Re: EXIF / ImageDescription to Description in Piwigo

Limitations

There are limits to the metadata usage in Piwigo. There are only so many image properties in the standard Piwigo database, and core code to use it. You can not map more than one metadata value to one Piwigo property. In other words, we can't use all IPTC or Exif metadata, because there is no place to put it.''

BUT why not expand the database fields to enable this??


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 
  •  » Requests
  •  » EXIF / ImageDescription to Description in Piwigo

Board footer

Powered by FluxBB

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