mastodon-android icon indicating copy to clipboard operation
mastodon-android copied to clipboard

GIFs might be zoomed when opening

Open sk22 opened this issue 2 years ago • 3 comments

I'm assuming that the media metadata in this post doesn't reflect the resolution correctly, causing the opened photo viewer to be zoomed in initially

https://mastodon.social/@cheeaun/110712824335044883

https://github.com/mastodon/mastodon-android/assets/6217438/2408a07b-5c27-47eb-a1ee-10ff640e8279

sk22 avatar Jul 14 '23 18:07 sk22

Might be the same reason why Pleroma makes images squeezed, since Pleroma apparently doesn't return the image dimensions in the API. Someone reported this to me on Discord just yesterday

grishka avatar Jul 14 '23 18:07 grishka

yeah, sure sounds like a similar issue

sk22 avatar Jul 14 '23 18:07 sk22

Actually, the thumbnails themselves are stretched like that: https://files.mastodon.social/media_attachments/files/110/712/824/122/931/381/small/a8f444c8cbc3fd8b.png https://files.mastodon.social/media_attachments/files/110/712/824/117/408/498/small/32f950b1f091d36c.png

The app believes what the server says and renders the attachments the size it says they are.

grishka avatar Aug 03 '23 14:08 grishka