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
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:
// 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:
// 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
Offline