ticgal / gapp

Bug reporting for Gapp
https://tic.gal/gapp/
4 stars 2 forks source link

distorted image using Gapp with Glpi 10.0.3 #51

Closed rafacss closed 1 year ago

rafacss commented 1 year ago

Whenever I take a photo using the smartphone camera using the Gapp, the image seen in the Gapp is normal, but when I view it in the Glpi Web, whether horizontal or vertical, it is distorted and stretched.

I'm using Glpi 10.0.3 and Gapp 1.4 on my Android 12.

image

image

image

PedroTicGal commented 1 year ago

Hi @rafacss,

We have seen this before. If you download and open this image on your computer, mobile device, etc... you will probably see the image without problems.

It seems to be a problem with the GLPI preview module and the EXIF properties.

Could you try Gapp 2 and let us know if you find any improvement?

Thank you.

rafacss commented 1 year ago

thanks for the feedback! the problem occurs in Gapp version 2.2.2

OscarBeiro commented 1 year ago

Hi,

We have reviewed this issue, and it is GLPI related. Your camera saves the image always horizontally and uses EXIF orientation to store the 90º Rotation. This typically affects Samsung but not Huawei, for instance.

GLPI shows the thumbnail correctly, and if you click on it, the browser also considers EXIF. Unfortunately, GLPI's PhotoSwipe - lightbox is not considering it.

You should open an issue on GLPI github or use your GLPI network to report it directly to Teclib'

We are closing as it is not related to Gapp. Regards.