Tuba icon indicating copy to clipboard operation
Tuba copied to clipboard

[Request]: full width images

Open afranke opened this issue 1 year ago • 8 comments

Describe the request

Images are cropped by default and there is an option to display them within a fixed size letterbox. The Mastodon Web UI used to crop by default and had an option where it doesn’t crop the image and displays it fully like the letterbox option, but instead of fitting the image into a fixed size, it fits the available width and takes as much height as necessary (with no grey above and below either if the image is not tall). That latter fit-width display mode has now become the default and the option has been removed.

Here is how it looks:

image

Implementation Details

afranke avatar Nov 21 '23 09:11 afranke

Thanks for the suggestion! This is sounds like a dup of #180

GeopJr avatar Nov 21 '23 20:11 GeopJr

No, they are not the same thing. #180 still says media should be cropped. The whole point here is not to crop.

afranke avatar Nov 23 '23 11:11 afranke

I would suggest retitling this "Don't crop images by default" to avoid confusion with #180 which was about tiny images that didn't scale up to fill the width, AFAIU.

Otherwise, related: #576.

nekohayo avatar Nov 24 '23 02:11 nekohayo

Note that this is a somewhat affecting issues, especially when viewing oblong images like screenshots. The more oblong an image is, the more of it is obscured.

atirut-w avatar Jul 12 '24 02:07 atirut-w

There is a letterbox option in settings

GeopJr avatar Jul 12 '24 05:07 GeopJr

It's still not the most ideal. A better solution would be 1. stretching an image out to fit horizontally (with a reasonable limit), otherwise 2. vertically shrink the container if the image can't be stretched horizontally.

atirut-w avatar Jul 12 '24 07:07 atirut-w

I don't have time right now to dive into this, but 1. is not happening, any sort of stretching is bad. 2. this is basically what this issue and #180 (partially) is about.

I suggested the letterbox setting since your comment sounded unaware of it!

GeopJr avatar Jul 12 '24 07:07 GeopJr

I worded it a bit poorly. I meant stretching while preserving aspect ratio

atirut-w avatar Jul 12 '24 11:07 atirut-w