Announcement

#1 2020-03-18 19:10:18

mgrandpa
Member
2017-01-02
21

Synchronize will read tags from jpg but will not populate Keywords

Hello/Hi/Greetings,

I started hosting Piwigo a couple months ago.   Have about 20,00 jpgs loaded.   I have the tag field in the windows jpg file populated.   When I run synchronize it says it is loading Keywords but it is not.

Local file Editor

<?php
$conf['show_iptc'] = true;
$conf['show_iptc_mapping'] = array('iptc_keywords' => '2#025');
$conf['use_iptc'] = true;
$conf['use_iptc-mapping'] = array('keywords' => '2#025');
?>

also when I have a jpg on the screen and choose edit properties, when I click on write meta data I get the following error

exiftool is not recognized as an internal or external command
operable program or batch file


Piwigo 2.10.1
Operating system: WINNT
PHP: 7.3.12
MySQL: 5.5.5-10.4.10-MariaDB

Offline

 

#2 2020-03-18 20:36:32

mgrandpa
Member
2017-01-02
21

Re: Synchronize will read tags from jpg but will not populate Keywords

forgot to add to my post

mgrandpa.com

Offline

 

#3 2020-03-18 23:10:12

executive
Member
2017-08-16
1214

Re: Synchronize will read tags from jpg but will not populate Keywords

you've got a typo

'use_iptc-mapping'

should be

'use_iptc_mapping'



Did you install exiftool ?

Is the plugin 'exiftool_path' variable set?

Last edited by executive (2020-03-18 23:17:38)

Offline

 

#4 2020-03-19 23:17:00

mgrandpa
Member
2017-01-02
21

Re: Synchronize will read tags from jpg but will not populate Keywords

Updated my local config file to:

<?php
$conf['show_iptc'] = true;

$conf['show_iptc_mapping'] = array(
   'iptc_keywords'        => '2#025',
   'iptc_caption_writer' => '2#122',
   'iptc_byline_title'      => '2#085',
   'iptc_caption'           => '2#120'
   );

$conf['use_iptc'] = true;

$conf['use_iptc_mapping'] = array(
   'keywords'        => '2#025',
   'date_creation'  => '2#055',
   'author'             => '2#122',
   'name'              => '2#005',
   'comment'        => '2#120'
   );

$conf['show_exif'] = false;

$conf['show_php_errors'] = E_ALL ^ E_DEPRECATED;

?>

Also installed Exiftool  It appears to be working correctly as from the photo properties page the write metadata and show metadata links work correctly.   I can write metadata from there and when I check the file in windows it shows correctly.

Currently Synchronization will not read keywords from jpg.    When I choose show metadata from the picture properties page it says no iptc keywords.    When I look in windows and pull the file up and look in the file details the correct meta data shows.

Any help is greatly appreciated.    Thanks

Offline

 

#5 2020-03-19 23:51:09

executive
Member
2017-08-16
1214

Re: Synchronize will read tags from jpg but will not populate Keywords

can you post a link to an example file?

then go to Tools-Maintenance and post your graphics library.

Offline

 

#6 2020-03-19 23:58:27

mgrandpa
Member
2017-01-02
21

Re: Synchronize will read tags from jpg but will not populate Keywords

Graphics Library:GD bundled (2.1.0 compatible)

Not sure what you mean by post a link

Offline

 

#7 2020-03-20 00:35:18

executive
Member
2017-08-16
1214

Re: Synchronize will read tags from jpg but will not populate Keywords

I want to examine one of the images you say aren't showing keywords. I went to your gallery but no images show up.

Offline

 

#8 2020-03-20 01:24:09

mgrandpa
Member
2017-01-02
21

Re: Synchronize will read tags from jpg but will not populate Keywords

I created a temp login

username    help
password     help

you should see one album    JD

Click on it and you should see one album     jd   Janae

You will see 6 photos,    none show keywords      I just looked on the disk with windows and all 6 of these files have name in the tag field.     When I synchronize piwigo says done but no piwigo keywords are populated.

Let me know when you are done so I can delete the help user

Thanks Again

Offline

 

#9 2020-03-20 01:36:07

executive
Member
2017-08-16
1214

Re: Synchronize will read tags from jpg but will not populate Keywords

works for me

Last edited by executive (2020-03-20 19:14:14)

Offline

 

#10 2020-03-20 01:42:12

mgrandpa
Member
2017-01-02
21

Re: Synchronize will read tags from jpg but will not populate Keywords

Yes these show iptc keywords but when I look at the properties page they do NOT show as keywords in piwigo

Offline

 

#11 2020-03-20 01:56:24

executive
Member
2017-08-16
1214

Re: Synchronize will read tags from jpg but will not populate Keywords

you're right. when I upload the image to my gallery I don't get keywords either. In fact it says
"no IPTC information Jd_Janae_1948_.jpg"

On my computer I see the keywords along with some abnormal data.

Offline

 

#12 2020-03-20 02:01:20

executive
Member
2017-08-16
1214

Re: Synchronize will read tags from jpg but will not populate Keywords

what software are you using to export your photos?


try uploading this image to your gallery and see if keywords work
http://metadatadeluxe.pbworks.com/w/pag … 20-%20IPTC

Offline

 

#13 2020-03-20 02:21:46

executive
Member
2017-08-16
1214

Re: Synchronize will read tags from jpg but will not populate Keywords

exiftool

The time and location don't look right to me. Looks like malformed data.

Last edited by executive (2020-03-20 02:22:38)

Offline

 

#14 2020-03-20 02:27:30

erAck
Only trying to help
2015-09-06
1998

Re: Synchronize will read tags from jpg but will not populate Keywords

exiftool -iptc:all Jd_Janae_1948_.jpg
Date Created                    : 1948:01:01
Keywords                        : JD, Janae


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

Offline

 

#15 2020-03-20 02:49:09

executive
Member
2017-08-16
1214

Re: Synchronize will read tags from jpg but will not populate Keywords

I stripped all metadata off the file, then added new keywords with exiftool and it works fine for me now.

I think there is a compatibility problem with whatever software you use on your computer.

Last edited by executive (2020-03-20 19:13:40)

Offline

 

Board footer

Powered by FluxBB

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