Announcement

#1 2023-05-26 10:53:51

gdb1999
Member
2023-05-26
2

Uploading IPTC metadata from Adobe to Piwigo

Hi there,

I'm trying to export pictures from Adobe Photshop Elements to a Piwigo web site and I'm losing some metadata.

In Adobe, I have the "Caption" filled out which is Title (I think) in IPTC (when I look at the JPEG). When I load into Piwigo (through the web browser and by dragging the files), I get the filename as the Piwigo Title and I don't get any other metadata.

Is there another way do you know please? Or a tool that could help? I tried use pLoader but it didn't recognise my URL.

Many thanks
Gordon

Offline

 

#2 2023-05-26 11:36:52

erAck
Only trying to help
2015-09-06
2038

Re: Uploading IPTC metadata from Adobe to Piwigo

You need to activate IPTC usage and also set up an IPTC to database mapping. In your local config have:

To display IPTC fields with an image:

Code:

// show_iptc: Show IPTC metadata on picture.php if asked by user
$conf['show_iptc'] = true;

// To know how to associate iptc_field with their meaning, use
// tools/metadata.php
$conf['show_iptc_mapping'] = array(
  'iptc_keywords'        => '2#025',
  'iptc_caption_writer'  => '2#122',
  'iptc_title'           => '2#005',
  'iptc_caption'         => '2#120',
  'iptc_license'         => '2#116'
  );

Note the iptc_... field names are examples, you can name them anything you want. For more associations see [Forum, post 166781 by ddtddt in topic 27721] Read and set tags from IPTC metadata

To import some IPTC fields into the database:

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',
  'author'          => '2#080',
  'name'            => '2#005',
  'comment'         => '2#120'
  );

Note the mapping's names are database table column names, you can not make anything up there.
Also helpful might be [extension by ddtddt] Read Metadata.
See also https://piwigo.org/doc/doku.php?id=user … n:metadata


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

Offline

 

Board footer

Powered by FluxBB

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