diaspora/diaspora — Issue #2466: Collapse images in stream
Author: pixelistik
Created: 2011-12-01 16:04:11+00:00
State: open

Making long posts collapse and showing only the beginning of the text and a _read more_ button already makes the stream page much more compact.

But images attached to posts still take up a lot of vertical space. People often share comic strips or other images that are very high.

I'm suggesting to collapse these images in a similar way to the text: Just show up to a certain height and hide the rest below. Give a visual hint that this image is not fully visible, an equivalent to the ellipse [...] for text. Then un-collapse the image with the same link that is now reserved for showing the full text.

Here's a simple mockup, the visual hint being just a white gradient at the bottom of the collapsed image.

![mockup](https://diasp.de/uploads/images/ffb84065d37746679851.png)

Related: #2424 with a different approach to getting images out of the way