#16 2026-01-16 06:53:52

Katryne
Member
Provence, France
2016-12-03
621

Re: Geo Tag Editor plugin

Which theme do you use  ? My theme had to be forked to get the geolocation buttons display correctly. Because the plugin, as some others, works correctly only with a small number of themes.

Please, gentle and generous coders, can you make it so that your plugins are not dependent on the theme, reserved for certain themes only?


https://album.chauvigne.info/ v.16.4  PHP: 8.4.23
Système d'exploitation: Linux - Hébergeur 1&1-Ionos - MySQL: 5.7.42
Bibliothèque graphique: External ImageMagick 6.9.11-60

Offline

 

#17 2026-01-16 10:38:08

Charles69
Member
2025-10-22
51

Re: Geo Tag Editor plugin

Hello everybody !!

neon wrote:

JPG files must have write permissions!

Yes, because the GPS coordinates are written in the photo metadata.
For compatibility with Piwigo-OpenStreetMap, they are also written in the database.

OHappyDay wrote:

What could be the reason that the geo location link does not appear on all images?

If a photo has already been geotagged with piwigo-openstreemap, the GPS coordinates are stored in the database, not in the photo's metadata. Normally, in this case, the map appears correctly but the marker is not displayed. You must click on Save for the GPS coordinates to be stored in the photo's metadata.
In this case, a message appears at the bottom left for a few seconds.

Katryne wrote:

Please, gentle and generous coders, can you make it so that your plugins are not dependent on the theme, reserved for certain themes only?

It will surely happen one day, but it would require a contribution from users of other themes...

The plugin was written for the bootstrap_darkroom theme, and the buttons appear somewhat randomly with the modus theme.

Offline

 

#18 2026-01-16 12:23:24

OHappyDay
Member
2023-02-08
202

Re: Geo Tag Editor plugin

I am using Bootstrap Darkroom but I see the same behaviour on Modus and Elegant.

Offline

 

#19 2026-01-16 12:36:41

Charles69
Member
2025-10-22
51

Re: Geo Tag Editor plugin

@OHappyDay
Can you send me the photos that are causing the problem?

Offline

 

#20 2026-01-16 16:58:45

abravorus
Member
2015-03-03
72

Re: Geo Tag Editor plugin

Charles69 wrote:

Hello everybody !!
The plugin was written for the bootstrap_darkroom theme, and the buttons appear somewhat randomly with the modus theme.

With Clear theme the plugin works correctly.

Thanks,
  Alexandr

Offline

 

#21 2026-01-16 18:13:07

OHappyDay
Member
2023-02-08
202

Re: Geo Tag Editor plugin

Hi Charles69,

this is one of several photos that show the described behaviour. Others from the same set (all have EXIF geo coordinates) are not affected.

www.krtschil.net/Bild8.jpg

Offline

 

#22 2026-01-16 20:36:26

Charles69
Member
2025-10-22
51

Re: Geo Tag Editor plugin

Hi OHappyDay,

Thanks for the photo.

For me, there is no problem with geolocation.

https://i.ibb.co/8LKtr4JN/2026-01-16-20h14-14.png

But there is a problem with face taging
This is a known issue with Lightroom: you can pre-tag faces without naming them.
Then Lightroom saves the face positions, but the names are blank, which doesn't conform to face tagging rules.

This can be seen with exiftool:
There are 9 faces defined, but only 2 are correctly named.
To display the two correctly tagged faces, you need to delete the 7 temporary faces in Lightroom.

[XMP]           RegionName                      : , , , , , , , Krtschil, Friedrich,
[XMP]           RegionType                      : Face, Face, Face, Face, Face, Face, Face, Face, Face
[XMP]           RegionAreaH                     : 0.0619094, 0.0723363, 0.0746171, 0.0527859, 0.0677745, 0.058651, 0.0713587, 0.0782014, 0.0723363
[XMP]           RegionAreaUnit                  : normalized, normalized, normalized, normalized, normalized, normalized, normalized, normalized, normalized, normalized, normalized, normalized, normalized, normalized, normalized, normalized, normalized, normalized
[XMP]           RegionAreaW                     : 0.0381985, 0.0448008, 0.0448008, 0.0323037, 0.0424428, 0.0339543, 0.0440934, 0.049045, 0.0440934
[XMP]           RegionAreaX                     : 0.419005, 0.298043, 0.189814, 0.35428, 0.616836, 0.36265, 0.747819, 0.540203, 0.450248
[XMP]           RegionAreaY                     : 0.39231, 0.376996, 0.225969, 0.527208, 0.265233, 0.284783, 0.288856, 0.39231, 0.24666

Look at face_tag & face_tag_editor.

Offline

 

#23 2026-01-16 21:52:01

OHappyDay
Member
2023-02-08
202

Re: Geo Tag Editor plugin

Thanks for the reply.

I am using digiKam not Lightroom.
I removed all XMP data from the image (www.krtschil.net/Bild8_v1.jpg) and uploaded it again but the button is still not visible.
Other ideas?

Offline

 

#24 2026-01-16 22:15:37

OHappyDay
Member
2023-02-08
202

Re: Geo Tag Editor plugin

This is weird.
I uploaded the image and its variants I created from above (but not overwriting the original image). All images work well and the geo location button is visible.

Offline

 

#25 2026-01-26 13:25:37

OHappyDay
Member
2023-02-08
202

Re: Geo Tag Editor plugin

Hi,

I have a little problem since the last update (v 1.4):

The translations to German work fine with one exception. The blue button in the lower right corner "Enregistrer" is not translated and appears in the French version.
I checked the translation file and found that the respective entry was not correct:

   $lang['Enregistrer '] = 'Speichern';

Note the blank character. But even if I remove the blank character and save the file the change is not visible on the webpage.
To verify that it should work I changed some other term and after saving it was clearly visible on the webpage.

I checked all files (main.inc.php, template/geo_tag.js, plugin.lang.php) for the string 'Enregistrer ' and removed the blank character everywhere. Then it worked as expected (other languages are also affected).

Please check and verify.

Thanks
Klaus

Offline

 

#26 2026-01-26 17:56:08

Charles69
Member
2025-10-22
51

Re: Geo Tag Editor plugin

Hi

OHappyDay wrote:

I checked all files for the string 'Enregistrer ' and removed the blank character everywhere.Then it worked as expected

For me, it works with the space after 'Enregistrer '
I intentionally added a space after 'Enregistrer'
If I don't do that, it displays 'Save Settings' regardless of the language I'm using.

'Save Settings' doesn't exist anywhere in the plugin's code. I wonder if there are default translations in Piwigo?

Offline

 

#27 2026-01-26 18:30:21

OHappyDay
Member
2023-02-08
202

Re: Geo Tag Editor plugin

That is weird.


* Removing the folders for all languages: the plugin displays in French
* Setting the piwigo language to French: when the blank character is in the French localization the button says "Save". Removing the blank character changes it back to French

The tests above are all done without the blank character in the mentioned .php and .js files.

For me this would be the correct settings and with this and the piwigo language set to German all is fine.

Offline

 

#28 2026-02-13 01:03:48

OHappyDay
Member
2023-02-08
202

Re: Geo Tag Editor plugin

Hi Charles69,

I noticed that there are missing translation definitions in main.inc.php:

'Cliquez sur Enregistrer pour les écrire dans les métadonnées EXIF.' => l10n('Cliquez sur Enregistrer pour les écrire dans les métadonnées EXIF.'),

'Coordonnées trouvées en base de données mais pas dans la photo.' => l10n('Coordonnées trouvées en base de données mais pas dans la photo.')

The language files seem to be OK (at least the German file) and the translated text show up in the relevant situation.

Offline

 

#29 2026-02-14 15:00:53

Charles69
Member
2025-10-22
51

Re: Geo Tag Editor plugin

Hi OHappyDay,


In version 1.6 :
- Missing translations have been added.
- You can enter a description even if there are no GPS coordinates.

Offline

 

#30 2026-02-14 23:00:39

OHappyDay
Member
2023-02-08
202

Re: Geo Tag Editor plugin

Thanks.

Offline

 

Board footer

Powered by FluxBB