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?
Offline
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
I am using Bootstrap Darkroom but I see the same behaviour on Modus and Elegant.
Offline
@OHappyDay
Can you send me the photos that are causing the problem?
Offline
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
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
Hi OHappyDay,
Thanks for the photo.
For me, there is no problem with geolocation.
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
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
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
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
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
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
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
Hi OHappyDay,
In version 1.6 :
- Missing translations have been added.
- You can enter a description even if there are no GPS coordinates.
Offline