Good day!
Upgrade v.1.6.2 to 1.6.3 and 1.6.4.
Today create new album and upload new photos. Problems: no EXIF information (GPS and other). I upload new photo to old albums and no EXIF info too...
// для русскоязычных форумчан:
на днях сделал обновление с 1.6.2 сперва на 1.6.3 и сразу на 1.6.4. Вчера создал новый альбом и залил туда свежие фотки. У новых фотографий не отображается информация EXIF. На старых фотографиях в старых альбомах - информация есть. Экпериментировал: старые фотки заливал в новые альбомы, новые - в старые, результат один - на залитых сегодня фотографиях не отображаются данные из EXIF... По большому счету данная информация нужна только для карт, но хочется.
Hi, installed 1.65a, EXIF issue resolved but GPS Data isn't. All pictures getting flagged on same spot in openstreetmap. Can be tested on live page:
https://ein68er.de/Motorsport/N%C3%BCrburgring%20Belmot%20Oldtimer%20Grand%20Prix%202024/
Error:
https://ein68er.de/diesunddas/Greenshot_2024-08-19_19.12.19.png
GPS Pictures: https://ein68er.de/diesunddas/Greenshot_2024-08-19_19.15.22.png
Checked SQL DB - all pictues getting identical EXIFGPS Infos now
@kuzzzma: Feel free to download
2024 pictures - 1.64
https://ein68er.de/diesunddas/Nuerburgring_331_20240810.jpg
https://ein68er.de/diesunddas/Nuerburgring_066_20240810.jpg
2023 picture - 1.6
https://ein68er.de/diesunddas/Hockenheim-Classic_001_20230506.jpg
@acrylian: Tested further and cleaned out EXIFGPS related DB Fields for two pictures followed by a single picture Metadata refresh. Again, both 2024 pictures getting the same Data in DB for GPS Location but Altitude is read correct, Latitude and Longitude too.
Looks like a calculation error from GMS Style to Decimal Style or cut off in DB field length. Probably a notation error between . and ,?
Tested Pictures 331 from above:
Translate included Latitude 50° 20' 6,84" N Longitude 6° 56' 34,266" O to Decimal. The result is Latitude 50.335 N and Longitude 6.933333333333334 E.
This set of data (decimal and GMS) shows correct position in Google maps etc.
In Database I see Latitude 50.333333333333 N and Longitude 6.9333333333333 E
Last two digits are missing
I just tested on my local test server with the three images above and it appears to be working as expected for me. I do get different values in the database. Screenshots here:
https://www.zenphoto.org/test/
This appears to be a new behaviour in PHP 8+. If floats are converted to strings which we do for formatting they suddenly become suddenly locale aware - which floats itself are never - and get commas instead of dots if the locale is currently a language using that, e.g. German.
They are then stored in the db that way which does not work with the map…
Quick workaround for now is to import metadata while setting the site to an English locale/language.