ZenphotoCMS Forum
EXIF in v.1.6.4 - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: EXIF in v.1.6.4 (/thread-13958.html)

Pages: 1 2


EXIF in v.1.6.4 - MaxIvanov - 29-06-2024

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... По большому счету данная информация нужна только для карт, но хочется.




EXIF in v.1.6.4 - kuzzzma - 29-06-2024

Yeah, reported it a few days ago on github, partial fix is already available there (via code download).

You'll have to refresh metadata for those photos.




EXIF in v.1.6.4 - MaxIvanov - 29-06-2024

Thanks! EXIF partial fix(cameras parameters), but no GPS.

//
Спасибо, данные EXIF читаются (в части параметров камеры), но данных GPS нет. Буду ждать следующего исправления.




EXIF in v.1.6.4 - kuzzzma - 29-06-2024

That's strange, GPS works for me with this fix, only formatting of values is off (not so user-friendly).

Can you give us a link for a photo with gps data, that's not showing (for testing)?




EXIF in v.1.6.4 - MaxIvanov - 29-06-2024

https://ivanof.net/photos/Tours/Chelyabinsk_2024-06/




EXIF in v.1.6.4 - MaxIvanov - 29-06-2024

https://ivanof.net/photos/Tours/Chelyabinsk_2024-06/IMG_20240624_142924_384.jpg




EXIF in v.1.6.4 - acrylian - 29-06-2024

Thanks, we can reproduce that and are on it. It is tied with the other issue. But it will take some days for fixes as it will probably also cause some internal reorganisation/restructuring.

Please post in English only. Thanks.




EXIF in v.1.6.4 - kuzzzma - 29-06-2024

@MaxIvanov thank you!
I've tested it on my demo site and can confirm, that GPS was not imported, despite being in the file.
The only difference I can see is different versions of EXIF used.

I've added your case to the mentioned github ticket to look into.




EXIF in v.1.6.4 - GiehRo - 18-08-2024

Just updated to 1.6.4, recognized the same issue and found this thread. Any news on it?




EXIF in v.1.6.4 - acrylian - 18-08-2024

Fixes are in 1.6.5a




EXIF in v.1.6.4 - GiehRo - 19-08-2024

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




EXIF in v.1.6.4 - acrylian - 19-08-2024

It worked when we tested it… Did you refresh metadata?




EXIF in v.1.6.4 - kuzzzma - 20-08-2024

I've tried uploading several new images with GPS data on my test site with the most current code and they worked.

@GiehRo can you maybe provide several images with different GPS data for testing?




EXIF in v.1.6.4 - GiehRo - 20-08-2024

@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




EXIF in v.1.6.4 - acrylian - 20-08-2024

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/




EXIF in v.1.6.4 - acrylian - 20-08-2024

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.




EXIF in v.1.6.4 - GiehRo - 20-08-2024

ha, this was my thought :-) - periode and comma.

How to set the whole site to an english locale? Couldn't find the needed option.




EXIF in v.1.6.4 - acrylian - 20-08-2024

Options > General > Language for the site in general. You can also just define a language for your user account.




EXIF in v.1.6.4 - GiehRo - 20-08-2024

This made it. Recognized EXIFShutterspeed is working now too. Thx for your support!!




EXIF in v.1.6.4 - acrylian - 25-08-2024

There is a possible fix in 1.6.5a now. Please test!