Pages: 1
Hi,
I'm new to Piwigo - I just installed it a few hours ago on my ISP hosted server.
I want to set up a shared family photo album. The requirements are for all family members to :
1) be able to upload photos
I haven't quite figured out how to do it yet, but I'm pretty sure that Piwigo meets the first requirement.
2) be able to view relevant metadata, at the very least the shooting date, location, and people (tags)
I'm less clear on this one. I uploaded a few JPEGs for which Windows explorer shows the tags (people) and location, but Piwigo only shows the shooting date.
3) be able to edit that metadata. This is particularly relevant for film photos that have been scanned. Sometimes, the person uploading just doesn't have the information, but another family member does.
Even for digital photos, the camera date is sometimes wrong if someone forgot to reset the clock when the battery is swapped, or change the time zone when traveling.
Not all cameras feature a GPS for location.
And of course, digital cameras also don't do face / people recognition, nor do I want them to.
Obviously, this 3rd requirement can only be met if the second one is also met.
Are there any options in Piwigo itself to meet requirements 2/3 ? And if not, can they be met using plug-in(s) ?
Any help is greatly appreciated.
Thanks in advance,
Julien
Piwigo 14.5.0
Système d'exploitation: Linux
PHP: 8.1.29
MySQL: 8.0.36-cll-lve
Bibliothèque graphique: External ImageMagick 6.9.13-14
Offline
Yes there are exif plugins out there. Piwigo has a mobile app for making uploads a lot easier than dealing with web browser based uploads. Also if people share images or download them Facebook images lose lots of metadata. Also your setup preference for uploads vs galleries is going to be your first decision. Are you okay if people upload to virtual albums or do you expect everyone to upload to physical albums because piwigo doesn't support that from the browser or mobile app.
Last edited by raupie (2024-09-02 01:56:56)
Offline
raupie wrote:
Yes there are exif plugins out there.
Thanks. I installed several of them, but so far I can't figure out how to view or edit the data.
The ones I have are AlwaysShowMetadata, ExifTool GPS, meta, PWG Stuffs, Read Metadata .
They are all installed and enabled. What they have in common is that I can't find documentation for any of them. Google searches all lead to various posts on this forum, but there are more questions than answers.
So far, I'm not even seeing the Keywords displayed. I do see the shooting date (it's labeled as creation date).
I also don't see the star rating that I assigned in Lightroom classic.
Windows Explorer is able to display both the keywords and the star rating on those JPEG files, so they are definitely there. Piwigo somehow does not show them after upload, even with those plug-ins.
Windows explorer does not display the GPS location, but I know it's in the image files as well.
What am I missing ?
Piwigo has a mobile app for making uploads a lot easier than dealing with web browser based uploads. Also if people share images or download them Facebook images lose lots of metadata. Also your setup preference for uploads vs galleries is going to be your first decision. Are you okay if people upload to virtual albums or do you expect everyone to upload to physical albums because piwigo doesn't support that from the browser or mobile app.
Most of my family does not use Facebook, so it has no relevance here. The vast majority of my photos were not shot with a smartphone. I can't speak for others, but I think there are many that predate the existence of smartphones.
The vast majority of my photos were taken with film cameras (negatives/prints scanned, obviously), compact digital cameras, and DSLRs. Approximately 16%, or about 9,000, were shot with a smartphone. The total collection is about 55,000 photos, taking approximately 900 GB.
Even if my mobile or tablet had enough storage space, I still would not want to use them to manage my photos. It is just the wrong tool for the job for me.
I created an album with the default settings, and uploaded through a web browser, so I guess that is virtual.
I do all my photo processing on my desktop using Lightroom Classic. I understand there is a plug-in to upload from there as well, although it is not free and Google shows some issues purchasing it. Most of my family members probably wouldn't be using LRc, although one or two might be.
Offline
Okay, I misspoke and misunderstood.
I'm doing something similar on my second piwigo installation for trail cameras where the GPS and ModifiedDate are the upmost importance for my use case.
So in the `LocalFiles Editor` is where the "mapping" of exif data to the Piwigo structure takes place.
I'm manipulating my images locally in a python script that scrapes a .kml file, added a "description" of personal notes from OnXMaps and I examine the creation/modified date if it's accurate.
```
$conf['show_exif_fields'] = array(
'Make',
'Model',
'DateTimeOriginal',
'COMPUTED;ApertureFNumber',
'ImageDescription'
);
// use_exif: Use EXIF data during database synchronization with files
// metadata
$conf['use_exif'] = true;
// use_exif_mapping: same behaviour as use_iptc_mapping
$conf['use_exif_mapping'] = array(
'date_creation' => 'DateTimeOriginal',
'comment' => 'ImageDescription'
);
```
So no, I don't know of a plugin that will modifiy the exif. I believe what you are after is a mapping of the metadata/exif and then you run a syncronize which corrects the stored data in the piwigo dataset with information from the image as the source of truth.
Offline
Hi,
Thanks again for your response.
raupie wrote:
Okay, I misspoke and misunderstood.
I'm doing something similar on my second piwigo installation for trail cameras where the GPS and ModifiedDate are the upmost importance for my use case.
Are you just trying to display the GPS and date, or also trying to edit them ?
So in the `LocalFiles Editor` is where the "mapping" of exif data to the Piwigo structure takes place.
I'm manipulating my images locally in a python script that scrapes a .kml file, added a "description" of personal notes from OnXMaps and I examine the creation/modified date if it's accurate.
What I'm after is the following :
1) one person uploads a photo with missing or incorrect EXIF DateTimeOriginal, EXIF GPS*, or IPTC Keywords
2) another person sees the photo with the wrong/missing information, and corrects it. Presumably by submitting a form through the web interface, not through any app.
```
$conf['show_exif_fields'] = array(
'Make',
'Model',
'DateTimeOriginal',
'COMPUTED;ApertureFNumber',
'ImageDescription'
);
// use_exif: Use EXIF data during database synchronization with files
// metadata
$conf['use_exif'] = true;
// use_exif_mapping: same behaviour as use_iptc_mapping
$conf['use_exif_mapping'] = array(
'date_creation' => 'DateTimeOriginal',
'comment' => 'ImageDescription'
);
```
So no, I don't know of a plugin that will modifiy the exif. I believe what you are after is a mapping of the metadata/exif and then you run a syncronize which corrects the stored data in the piwigo dataset with information from the image as the source of truth.
I don't quite follow what you are doing, to be honest, because I didn't see a description of the problem you were trying to solve. It sounds like a different use case than mine, though.
I don't necessarily need the plug-in to modify the EXIF in the image file itself. It could just be a metadata entry in the database, or even in an XMP file. I don't really know how Piwigo works under the hood. I do want the fields I listed above displayed in the gallery, however, and editable by the users. It sounds like that's not possible with the current state of Piwigo and its plug-ins, or at least, not without additional development, which I was hoping to avoid. I'm a C/C++ developer primarily. My Python skills are rather limited. The most code I have written with it has been with the help of ChatGPT.
I would rather host the family album with a 3rd party provider, and pay a bit extra, but I have not found any service that meets the requirements, which really surprises me.
Offline
> Are you just trying to display the GPS and date, or also trying to edit them ?
The KML file contains 2 items, GPS & Camera Description.
I'm using python to edit the image file locally before uploading it to piwigo. Piwigo on synchronization will scrape that metadata and map it to the fields it uses.
> one person uploads a photo with missing or incorrect EXIF DateTimeOriginal, EXIF GPS*, or IPTC Keywords
Do you want the image to have the edits or is it fine to leave the missing metadata in Piwigo only? I again haven't seen any plugins that will modify the images metadata / exif data. I'm starting to think the simple answer is "no, this isn't possible for your use case".
The sync has an option to "reset" existing values with empty ones, I would be cautious about modifying files in piwigo if you intend to upload the file and collect the metadata from it as the source of truth.
```
synchronise database photos with file metadata
Synchronise metadata (filesize, width, height, date_creation, latitude, longitude)
including already synchronised photos
overrides existing values with empty ones
```
> I don't necessarily need the plug-in to modify the EXIF in the image file itself. It could just be a metadata entry in the database
Okay, then you should be fine to edit the metadata in piwigo then.
I map the image description metadata to the default Piwigo "description" field. Are you thinking of "custom fields" perhaps outside the default options?
My friend will text me photos that I will "upload" to virtual albums "the uploads dir" which I then will modify the description & gps data directly in Piwigo and not on the original file. The openstreetmap extension allows for modifcation of the gps coordinates in the piwigo interface without modifying it in the original image on your server.
Last edited by raupie (2024-09-05 14:22:12)
Offline
Pages: 1