Element-web: Images scale to the timeline width

Created on 3 Jan 2019  ·  3Comments  ·  Source: vector-im/element-web

It would be great to get the best of a wider timeline and not have images which consume the entire view.

Related: https://github.com/vector-im/riot-web/issues/1520

bug p2 minor media timeline

Most helpful comment

@nadonomy do you think we should also cap the width too?

Yeah. The bigger the images can get the less comfortable your gaze is when scanning and reading messages.

I'd argue for a max width/height of around 400px even, treating them as large thumbnails in the knowledge users can browse messages more comfortably and view them in a full screen lightbox to see more detail.

All 3 comments

We currently cap images at 600px high to prevent them from stealing lots of screen width. They will only scale horizontally to fit the whole timeline if it doesn't waste height.

@nadonomy do you think we should also cap the width too?

@nadonomy do you think we should also cap the width too?

Yeah. The bigger the images can get the less comfortable your gaze is when scanning and reading messages.

I'd argue for a max width/height of around 400px even, treating them as large thumbnails in the knowledge users can browse messages more comfortably and view them in a full screen lightbox to see more detail.

Was this page helpful?
0 / 5 - 0 ratings