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

Max width doesn't suffice for tall images

Open sk22 opened this issue 3 years ago • 0 comments

The MAX_WIDTH defined in ImageAttachmentFrameLayout (as 400 dp) isn't ideal for determining whether an image should be displayed with full width or not, because it doesn't really help with very tall images (like screenshots). Maybe the image's aspect ratio is more suited for determining this? Or maybe there could be a maximum height for images, so tall images are displayed centered in cases where exceeded. This is an issue because, like in #166, possibly having to scroll down multiple screens because someone posted a very tall or narrow image imo isn't acceptable from an UX standpoint.

sk22 avatar May 15 '22 20:05 sk22