EXIF in v.1.6.4

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

Comments

  • kuzzzma Member, Translator

    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.

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

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

  • kuzzzma Member, Translator

    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)?

  • acrylian Administrator, Developer
    edited June 29

    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.

  • kuzzzma Member, Translator

    @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.

  • GiehRo Member

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

  • acrylian Administrator, Developer

    Fixes are in 1.6.5a

  • GiehRo Member

    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ürburgring Belmot Oldtimer Grand Prix 2024/

    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

  • acrylian Administrator, Developer

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

  • kuzzzma Member, Translator

    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?

  • GiehRo Member

    @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

  • acrylian Administrator, Developer
    edited August 20

    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/

  • acrylian Administrator, Developer

    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.

  • GiehRo Member

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

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

  • acrylian Administrator, Developer
    edited August 20

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

  • GiehRo Member

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

  • acrylian Administrator, Developer

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

  • tw2003 Member

    Tested 1.6.5a on my WAMP (PHP 8.1.1) test environment. In my case it adds a , (comma) at the end of aperture e.g. "f/4," instead of "f/4".

  • acrylian Administrator, Developer
    edited August 26

    Thanks, have to take another look. Really inconvenient new behaviour of PHP 8… In my tests this didn't happen…

  • acrylian Administrator, Developer

    Sadly it seems we cannot reproduce it so far. Please review the values in the image itself and what ends up in the db.

  • Checked the image. The value(s) are the same as with older pictures that I uploaded with a previous version of Zenphoto. Just saw that also the focal length gets a comma so it shows "27, mm" (DB value for EXIFFocalLength is what I see).
    Finally I tried 2 other images an older one and one of the dame series as the first one. They do not use the comma. Wonder what went wrong with the one image. Well I think it can be ignored then.

  • acrylian Administrator, Developer

    Something must be different. With "standard" values we cannot reproduce it with various images from various sources so far.

  • acrylian Administrator, Developer

    Can you link or send one of the image so we can try exactly those?

  • I deleted the image and uploaded it again. Now all values are correct. It's not reproducable for me as well. Very strange.
    Here is the link to the image http://www.paledog.de/Temp/1928-Mercedes-Benz-630-K-La-Baule-Torpedo-by-Saoutchik_front.jpg

  • acrylian Administrator, Developer

    Okay, then probably the data was not refreshed properly but a re-upload should not be necessary actually… Strange. Thanks, will test your image nevertheless just in case we missed anything.

Sign In or Register to comment.