Pages: 1 2
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
forgot to add to my post
mgrandpa.com
Offline
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
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
can you post a link to an example file?
then go to Tools-Maintenance and post your graphics library.
Offline
Graphics Library:GD bundled (2.1.0 compatible)
Not sure what you mean by post a link
Offline
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
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
works for me
Last edited by executive (2020-03-20 19:14:14)
Offline
Yes these show iptc keywords but when I look at the properties page they do NOT show as keywords in piwigo
Offline
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
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
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
exiftool -iptc:all Jd_Janae_1948_.jpg
Date Created : 1948:01:01
Keywords : JD, Janae
Offline
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
Pages: 1 2