#1 2024-08-15 07:33:12

Havouza15
Member
2024-08-11
27

[resolved] How add geo location to the shown exif info.

Hello/Hi/Greetings,

How add geolocation to the shown exif info? Today I have this in the local config but it does not show

$conf['show_exif_fields'] = array(
  'DateTimeOriginal',
  'Make',
  'Model',
  'ExposureProgram',
  'FocalLengthIn35mmFilm',
  'FNumber',
  'ExposureTime',
  'ISOSpeedRatings',
  'Flash',
  'WhiteBalance',
  'UserComment',
  'Latitude',
  'Longitude'

Piwigo 14.5.0 Check for upgrade
Installed on 14 August 2024, 16 hours ago
Operating system: Linux
PHP: 8.3.10 (Show info) [2024-08-15 05:32:31]
MySQL: 10.3.39-MariaDB-0ubuntu0.20.04.2 [2024-08-15 07:32:31]
Graphics Library: External ImageMagick 6.9.10-23
Cache size 14.77 Mo   calculated 16 hours ago Refresh

Piwigo URL: http://

Offline

 

#2 2024-08-15 10:11:58

erAck
Only trying to help
2015-09-06
2181

Re: [resolved] How add geo location to the shown exif info.

You probably have to use GPSLatitude and GPSLongitude instead.


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2024-08-15 10:14:45

Havouza15
Member
2024-08-11
27

Re: [resolved] How add geo location to the shown exif info.

I have tried that but it does not work either. Seems something is not working as it should. I  read some different posts but no solution unfortunately. Pity, it should not be rocket science

Offline

 

#4 2024-08-15 10:17:41

Havouza15
Member
2024-08-11
27

Re: [resolved] How add geo location to the shown exif info.

It looks like this now

$conf['show_exif_fields'] = array(
  'DateTimeOriginal',
  'Make',
  'Model',
  'ExposureProgram',
  'FocalLengthIn35mmFilm',
  'FNumber',
  'ExposureTime',
  'ISOSpeedRatings',
  'Flash',
  'WhiteBalance',
  'UserComment',
  'GPSLatitude',
  'GPSLongitude'

Offline

 

#5 2024-08-15 12:08:01

erAck
Only trying to help
2015-09-06
2181

Re: [resolved] How add geo location to the shown exif info.

Try exiftool from command line on a picture if there actually are recognizable geolocation values and under which tag names and family. See also https://exiftool.org/TagNames/


Running Piwigo at https://erack.net/gallery/

Offline

 

#6 2024-08-15 12:22:38

Havouza15
Member
2024-08-11
27

Re: [resolved] How add geo location to the shown exif info.

Its interesting
Picture is taken with my mobile. When I look with an exif app it show the gps coordinates without a problem.
Then I email the picture using our own email server and check with exiftool on my computer. And there is no gps coordinates

I then download a sample picture with gps cordinates and that show without problem. I upload it to piwigo and it does not show. All other exif show. Seems that this is unsolvable. I wanted Piwigo to be an alternative to Google Photo that strip all geo data from uploaded pictures. And the same do FB, Whatsapp, Telegram etc

Offline

 

#7 2024-08-15 19:25:53

Havouza15
Member
2024-08-11
27

Re: [resolved] How add geo location to the shown exif info.

Just an update.
1. After installing OSM plugin I realize that the GPS coordinates is in the images because they show up on the map.
2. The correct exif settings in the config for this is latitude and longitude. With SMALL letters, then it works as it is supposed to

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact