FIle upload webservice does not call hook to set title from metadata #808

Open
opened 2026-10-05 00:18:26 +02:00 by adam · 0 comments
Owner

If you have "use_exif_mapping" (or "use_iptc_mapping") set in your Piwigo config file, when you use the web interface to upload a file that has metadata already set, the metadata will be mapped into the appropriate image field in Piwigo's database. For example, by default, if you have the EXIF ImageDescription field set, that will become the title field when you upload that file into Piwigo. This is a big timesaver particularly if you are importing photos from some other software, or if you upload them into two places, because it saves you retyping the title.

But it doesn't work if you use the webservice interface. The behavior of the web interface and the webservice interface should be made consistent.

If you have "use_exif_mapping" (or "use_iptc_mapping") set in your Piwigo config file, when you use the web interface to upload a file that has metadata already set, the metadata will be mapped into the appropriate image field in Piwigo's database. For example, by default, if you have the EXIF ImageDescription field set, that will become the title field when you upload that file into Piwigo. This is a big timesaver particularly if you are importing photos from some other software, or if you upload them into two places, because it saves you retyping the title. But it doesn't work if you use the webservice interface. The behavior of the web interface and the webservice interface should be made consistent. <!-- github-sync-id:343141281 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#808