Skip to content

photo shown as note

Hello, I'm using gpxpod 2.2 and the latest nextcloud with a postgres database. It happens that if the image attached to the gpx track was built with exif version 2.2 the image displays correctly. Otherwise, if the image was built with exif version 2.1 the image is rendered as a note and won't display. See the picture: image

If I look in the nextcloud log file I notice this line

{"reqId":"hgcZNsK418Rf6R39bMpI","level":3,"time":"2018-05-31T05:46:06+00:00","remoteAddr":"192.168.1.200","user":"dtomaso
ni","app":"PHP","method":"POST","url":"\/apps\/gpxpod\/getmarkers","message":"exif_read_data(2018-05-30_20-17-35.jpg): Pr
ocess tag(x010D=DocumentNam): Illegal components(0) at \/usr\/share\/nginx\/html\/nextcloud\/apps\/gpxpod\/controller\/pa
gecontroller.php#1485","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:60.0) Gecko\/20100101 Firefox\/60.0","version":"1
3.0.1.1"}

If I read the exif_read_data documentation it states that it will validate the metadata according to the specifications of version 2.2.

Can you check and fix this please?

Edited by Danilo Tomasoni