plegall / Piwigo-write_metadata

3 stars 4 forks source link

Write GPS location to image file #1

Open jheinitz opened 8 years ago

jheinitz commented 8 years ago

Hello,

I use the "Write Metadata" plugin to write description, author, tags etc to my image files into the corresponding IPTC fields. However using this plugin it is not possible to write the GPS location into the image. Is there an easy way to add this feature?

Kind regards

Jens PS: Thanks for this cool software! Keep on going ...

plegall commented 8 years ago

I think I have found the way to write latitude/longitude in the file. It works on photos coming from my Canon DSLR. It doesn't work from my photos coming from my iPhone. I have to understand what's wrong before I commit.

jheinitz commented 8 years ago

Hi Pierrick,

I have a gallery with lots of photos from different sources. I have set the GPS location manually for most of them. Now I want to write the meta data to the files. If you want, I could do some beta testing. What would I need to do to get your latest version?

Thanks and regards

Jens

jheinitz commented 7 years ago

Hello Pierrick,

any news on this issue? Let me know if I can try it out for you with my pictures.

Thanks and kind regards

Jens

jheinitz commented 7 years ago

Hi,

I think that the plugin is still unable to write the geo location to the images, right?

It would be very cool, if this gets implented!

Thanks and best regards

Jens

Coldfriction commented 6 years ago

I'm very interested in having this ability as well. Is there any update on getting it implemented?

jheinitz commented 6 years ago

I could send you the code for my main.inc.php, if you want to try it out.

@plegall, how could I create a pull request to add my GPS implementation?

Regards

Jens

Coldfriction commented 6 years ago

I'm not much of a coder, and I've yet to install any plugins into Piwigo outside of the administrator's web interface, but if there's no other way for me to get it implemented, I'll do whatever it takes. Is the main.inc.php a part of the write_metadata plugin? I'd prefer to keep things forward compatible as much as possible and would hate to lose the functionality if I ever update the plugin. I'm currently going through thousands of old family photos and want to write GPS coordinates to them for other family members. I'm using Piwigo as a family photo repository of sorts but I want people to be able to download stuff with metadata attached should my server ever die or my house burn down.

jheinitz commented 6 years ago

Hi,

I got your point. Probably it is much easier, if I would fork the current write_metadata plugin and create some kind of write_gpsdata plugin that does nothing else than writing the GPS data into the EXIF tag. This would also improve my knowlegde around Piwigo and PHP coding. The only thing I would need is some kind of a small HOWTO from plegall to setup my own repository in Github first and then push it to be available to install as a new plugin in Piwigo. @Plegall, can you help?

Best regards

Jens

2018-01-24 21:51 GMT+01:00 Coldfriction notifications@github.com:

I'm not much of a coder, and I've yet to install any plugins into Piwigo outside of the administrator's web interface, but if there's no other way for me to get it implemented, I'll do whatever it takes. Is the main.inc.php a part of the write_metadata plugin? I'd prefer to keep things forward compatible as much as possible and would hate to lose the functionality if I ever update the plugin. I'm currently going through thousands of old family photos and want to write GPS coordinates to them for other family members. I'm using Piwigo as a family photo repository of sorts but I want people to be able to download stuff with metadata attached should my server ever die or my house burn down.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/plegall/Piwigo-write_metadata/issues/1#issuecomment-360269088, or mute the thread https://github.com/notifications/unsubscribe-auth/AEkUgk3z2sk3Uguczy_JbNBCWbLBO_ynks5tN5fGgaJpZM4GvhjP .

Coldfriction commented 6 years ago

Also, it appears the metadata doesn't write to video files. I'm using the videojs plugin for videos. Is there any way to get write metadata to do this as well?

TallGuysFreeADMIN commented 5 years ago

GPS lat/long would be great for this plugin. (eg: when using along with Geotag plugin).

Very strange how iOS doesn't co-operate. hmm. Is it still the case in the latest release of exiftool?

I have heard some sources say that uploading images via Safari does not upload the EXIF. Not sure if that's related. Thanks for all your hard work.

jheinitz commented 3 years ago

Any update on this? I still have my own version of the main.inc.php to write the GPS and the keyword tags one by one, but I would like to have this implemented in the official version of the plugin.

vale-max commented 3 years ago

Hi @jheinitz could you post us your version of the main.inc.php (or even better fork this repo and add your modifications) I'm very interested in writing back the GPS data but the seems @plegall could not dedicate much time to this plugin lately