savvasdalkitsis / uhuruphotos-android

🖼️A modern media gallery, with features like backup/sync, semantic search, media map, face recognition, memories and much more built using the latest Android technologies.
https://uhuru.photos
Apache License 2.0
354 stars 26 forks source link

Some photos in feed are displayed sideways #498

Open serdeltomas opened 9 months ago

serdeltomas commented 9 months ago

photos taken in portrait mode are shown in landscape mode and stretched

nagarrido commented 8 months ago

Same happens to me

redsunfex commented 8 months ago

Same here, makes the app slightly useless. Other than that, it seems great. Has great potential.

savvasdalkitsis commented 8 months ago

hm do any of you have a photo you are willing to share to troubleshoot this? perhaps something in the exif of the file is not correct. i cannot replicate this :/

marcel89l commented 8 months ago

hm do any of you have a photo you are willing to share to troubleshoot this? perhaps something in the exif of the file is not correct. i cannot replicate this :/

Sure. The File "Screenshot1.png" is how it is displayed in my App in the feed, the File "Screenshot2.png" is how the picture looks inside the app when i open it, the File "IMG_20240109_163452.jpg" is the original picture.

Screenshot1 Screenshot2 IMG_20240109_163452

redsunfex commented 8 months ago

Yes, I have the same issue. But here's another clue. The same photos in the searched view appear correct.

Screenshot_20240113_181303_Photos

Screenshot_20240113_181329_Photos

Once you open the photo, it is correctly orientated.

savvasdalkitsis commented 8 months ago

hm. can either of you share the actual photo file here so i can add it to my dev build and debug it? Don't modify it in any way so that the exif metadata is unchanged

redsunfex commented 8 months ago

0c8f814a5d1a0c23dbd355ca4c3319c31 593e6e89ee80a0700e7733104fe08d271

Here are two images that appear sideways in the feed.

savvasdalkitsis commented 8 months ago

The fix is released in version 0.0.162 @marcel89l @nagarrido @serdeltomas @redsunfex.

Note that already created thumbnails will remain sideways until i put in some functionality to wipe the local media db and rebuild it. Or you could clear the app data and start from scratch until then

redsunfex commented 8 months ago

Thank you!

redsunfex commented 8 months ago

confirmed fixed.

nagarrido commented 3 months ago

Any chance to re-open the issue? Everything looks fine for jpg files, but heic files have this problem