Announcement

#1 2020-06-06 08:33:22

dschigt
Member
2020-06-06
8

Unable to search IPTC keyword values

Hello/Hi/Greetings,

Today I installed Piwigo, out of the box. The only few additions and changs I made were:
* Activated plugins
- Admin
- Local files editor
- Read_Metadata

* Config change in local config editor:
$conf['show_iptc'] = true;

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

I do confirm I can SEE the keywords in my uploaded pictures. However, I am unable to SEARCH. Any search attempt fails without displaying results.

To enrich this matter I also have performed next:
- Read and followed guidelines to get IPTC filled and filed throughout this forum.
- Perform synchronization tasks (as displayed in the menu)
- Deleted pictures and re-uploaded them

Is there anybody who has experienced this too? Thanks for any clarification and/or support!

Piwigo version: 2.10
PHP version: 7.2
MySQL version: MariaDB 10.3.21
Piwigo URL: <locally hosted on my Synology NAS station>

Last edited by dschigt (2020-06-06 08:34:54)

Offline

 

#2 2020-06-06 10:21:32

executive
Member
2017-08-16
1099

Re: Unable to search IPTC keyword values

it should work. Do you want to post a link to your gallery?

Offline

 

#3 2020-06-06 10:41:30

dschigt
Member
2020-06-06
8

Re: Unable to search IPTC keyword values

Hi,

It is indeed possible to visit the site/gallery. Please follow next link:

http://84.29.224.54:83

Best regards,
Detlev

Last edited by dschigt (2020-06-06 10:42:32)

Offline

 

#4 2020-06-06 20:49:08

executive
Member
2017-08-16
1099

Re: Unable to search IPTC keyword values

can you please go to
configuration>display>photo properties
and check the box for 'keywords'

Offline

 

#5 2020-06-06 23:09:06

dschigt
Member
2020-06-06
8

Re: Unable to search IPTC keyword values

Hi,

Thanks for your swift response and support. However, the field  you mentioned (photo properties -> keywords) is already checked...

Best regards,
Detlev

Last edited by dschigt (2020-06-06 23:10:12)

Offline

 

#6 2020-06-06 23:21:03

executive
Member
2017-08-16
1099

Re: Unable to search IPTC keyword values

Maybe the keywords were not imported into the Piwigo database.

Open the image properties. What do you see in the keywords box?

I tried importing one of your images into my gallery, and I was able to search by keyword. So it's something with your configuration.

Last edited by executive (2020-06-06 23:29:11)

Offline

 

#7 2020-06-06 23:40:58

executive
Member
2017-08-16
1099

Re: Unable to search IPTC keyword values

By the way, I don't think yours is the best way to use keywords.

Keywords should be a list of concise words. For example:
"aircraft, single engine, Messerschmitt, Bf109, WWII, Germany"
etc.
You should avoid punctuations like . and -
Things like the date, numerals, and "Subcategorie" are superfluous.


Yours is too long and it gets translated into some nonsense tags. It's probably better to have it in the description field. (decription field is searched too by the way).


Code:

 0-3, 01. Type, 02-09-2006, 02. Registratie (administratief leidend), 04. Eenheid, 04. VERWERKT, 06. Lokatie, 07. Land, 08. Datum, 09. Dagboek entry thema, 10. Status gespot, 10.TIEN, 11. Hoofdcategorie, 12. Subcategorie, 13. Actie/Detail/Statistiek/Sfeer, 131 SQN, 15. Opname waarde, 20. Lucht-Grondopname, 2006, 99. Workflow, BEAUVECHAIN, GO, GRONDOPNAME, I-P, L-13, LES EN INSTRUCTIE, NEDERLAND, OPEN DAG, PC-7, STAT, VLIEGTUIG

Offline

 

#8 2020-06-07 09:57:10

dschigt
Member
2020-06-06
8

Re: Unable to search IPTC keyword values

Hi,

Thanks again for your support. Let me take your suggestions and I'll revert my findings accordingly.
Answering your question about the keywords field, this is not filled either.

Best regards,
Detlev

Offline

 

#9 2020-06-07 11:28:58

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7054

Re: Unable to search IPTC keyword values

Hi :-)

have you see IPTC with [extension by ddtddt] Read Metadata


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#10 2020-06-08 17:52:58

dschigt
Member
2020-06-06
8

Re: Unable to search IPTC keyword values

Hi,

Your suggestions were implemented, yet, no success.... Most unfortunate.

In the meantime I fiddled around with a fresh, new installation. Also I tried different PHP versions/web servers (nginx/Apache) combinations. No result. For the sake of troubleshooting, I exported one photo with one keyword. The keyword is visible. As it was for the other photos.

What seems to happen is that not all data is pushed into the database. Because some data I see populated, some not. In particular tables: piwigo_image_tag and piwigo_tag I would expect rows to become added. However 0 rows are stored.

So in summary: next plugins are installed and ENABLED:
- Admin tools
- Exiftool keywords
- LocalFiles editor
- Read Metadata

Next config is set:

$conf['use_exif'] = true;

$conf['use_exif_mapping'] = array(
  'date_creation'        => 'DateTimeOriginal',
  'comment'              => 'UserComment',
  );

$conf['show_iptc'] = true;

$conf['show_iptc_mapping'] = array(
  'iptc_creator'         => '2#080',
  'iptc_title'           => '2#005',
  'iptc_headline'        => '2#105',
  'iptc_description'     => '2#120',
  'iptc_keywords'        => '2#025',
  );

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

?>

Any clue what I am overlooking, assuming data is not imported in MySQL?
Also I attempted to debug and read log files. Little there is to further examine. Be informed, I have my installation runnig on a Synology NAS.

Thanks for any help!

Best regards,

Detlev

Offline

 

#11 2020-06-08 22:33:17

executive
Member
2017-08-16
1099

Re: Unable to search IPTC keyword values

please post the result of the [extension by ddtddt] Read Metadata

Also, which graphics library is Piwigo using? (under 'maintenance')

Offline

 

#12 2020-06-09 06:51:37

dschigt
Member
2020-06-06
8

Re: Unable to search IPTC keyword values

HI,

This is an output sample for one picture, with regard to read_metadata.
For your reference, I installed this plugin within the application itself. Not by downloading it from the reference link you posted. To me, I perceive it is the same plugin.

IPTC Fields in DST_20190526_3439.jpg
1#090 = %G
2#000 = 
2#025 = tst_keyword_1,tst_keyword_2
2#055 = 20190526
2#060 = 154922
2#062 = 20190526
2#063 = 154922

EXIF Fields in DST_20190526_3439.jpg
FileName = 20200609064940-a232a465.jpg
FileDateTime = 1591678180
FileSize = 4847487
FileType = 2
MimeType = image/jpeg
SectionsFound = ANY_TAG, IFD0, THUMBNAIL, EXIF
COMPUTED
      html = width="3936" height="2624"
      Height = 2624
      Width = 3936
      IsColor = 1
      ByteOrderMotorola = 0
      ApertureFNumber = f/8.0
      Thumbnail.FileType = 2
      Thumbnail.MimeType = image/jpeg
Make = NIKON CORPORATION
Model = NIKON D610
XResolution = 240/1
YResolution = 240/1
ResolutionUnit = 2
Software = Adobe Photoshop Lightroom Classic 9.2.1 (Macintosh)
DateTime = 2020:06:09 06:48:20
Exif_IFD_Pointer = 228
THUMBNAIL
      Compression = 6
      XResolution = 72/1
      YResolution = 72/1
      ResolutionUnit = 2
      JPEGInterchangeFormat = 1020
      JPEGInterchangeFormatLength = 8942
ExposureTime = 1/640
FNumber = 8/1
ExposureProgram = 3
ISOSpeedRatings = 400
UndefinedTag:0x8830 = 2
ExifVersion = 0231
DateTimeOriginal = 2019:05:26 15:49:22
DateTimeDigitized = 2019:05:26 15:49:22
UndefinedTag:0x9010 = +02:00
ShutterSpeedValue = 9321928/1000000
ApertureValue = 6/1
ExposureBiasValue = 0/6
MaxApertureValue = 52/10
MeteringMode = 2
LightSource = 0
Flash = 16
FocalLength = 2700/10
SubSecTimeOriginal = 20
SubSecTimeDigitized = 20
ColorSpace = 65535
FocalPlaneXResolution = 54886891/32768
FocalPlaneYResolution = 54886891/32768
FocalPlaneResolutionUnit = 3
SensingMethod = 2
FileSource = 
SceneType = 
CFAPattern = 
CustomRendered = 0
ExposureMode = 0
WhiteBalance = 0
DigitalZoomRatio = 153/100
FocalLengthIn35mmFilm = 405
SceneCaptureType = 1
GainControl = 1
Contrast = 0
Saturation = 0
Sharpness = 0
SubjectDistanceRange = 0
UndefinedTag:0xA431 = 6104146
UndefinedTag:0xA432
      0 = 500/10
      1 = 5000/10
      2 = 40/10
      3 = 63/10
UndefinedTag:0xA434 = 50.0-500.0 mm f/4.0-6.3

With regard to image processing tool, I guess you are looking for the final displayed value (External ImageMagick):

    Piwigo 2.10.2 Upgradecontrole
    Besturingssysteem: Linux
    PHP: 7.2.24 (Toon info) [2020-06-09 06:46:04]
    MySQL: 5.5.5-10.3.21-MariaDB [2020-06-09 06:46:04]
    Afbeeldingen bibliotheek: External ImageMagick 6.9.10-27

Offline

 

#13 2020-06-09 07:22:59

executive
Member
2017-08-16
1099

Re: Unable to search IPTC keyword values

Everything looks correct.

What method are you using to add images?

Offline

 

#14 2020-06-09 07:44:19

dschigt
Member
2020-06-06
8

Re: Unable to search IPTC keyword values

To add pictures I simply go to the admin part of the site, add pictures and upload these. There is no extra step I take.
Be informed, I also used the synchronize function. More from a troubleshooting and analyzing perspective, yet this yields nothing.

Offline

 

#15 2020-06-09 16:44:00

dschigt
Member
2020-06-06
8

Re: Unable to search IPTC keyword values

Hi,

Today I executed a complete new and fresh installation, on an Ubuntu virtual machine. For reference it was with Apache/MariaDB and PHP7.2. Initially, I had the EXACT same result. Meaning: no search results.
However... :-) Upon using the Lightroom Piwigo Allyplugin, I immediately had result. This I was able to replicate too for the installation I have on my Synology NAS station.

All in all, I am more than happy now, with a big relief. I can continue using Piwigo! :-)
Yet, for me it is still strange why the upload does not work... I also took another PC to test it, no result.

Personally, I would like to have it cleared and clarified why uploading photos via web interface seem to hamper. For instance when I recommend this to other persons who do not use Lightroom may encounter same issues. Therefore, if you feel the need to have this further examined, please let me know. Otherwise, thank you for support and analyzing steps you provided!

Best regards,
Detlev Schigt

Offline

 

Board footer

Powered by FluxBB

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