Feature #20376
closedFeature #19592: Groups Page Re-Design
Improvements to group cover aspect ratio and/or height across views
0%
Description
In the original comps for redesign groups, we see a number of different types of behavior for group cover images:
1. On the group home page, the cover image element is 360px tall and 100% width of the viewport
2. On other group pages, the cover image element is 250px tall and 100% width of the viewport
In both cases, the fixed height but variable width means that background-size: cover
is used. In our case, this generally means that the cover image is stretched to the full width of the viewport, with a rectangle 360px or 250px high shown from the center of the cover image.
This behavior causes some inconsistencies, since the "crop" behavior is different on viewports of different widths. This can be difficult for the group admin to understand. It's made even more problematic by the fact that the Manage > Cover Image interface gives a preview of the results, but only at one of the 250px/360px heights.
There's a further problem with the approach, which is that background-size: cover
forces the background image to be full-width, even if it means upsizing. This can result in a pixelated image.
Let's use this ticket to talk through some short-term and long-term strategies.
Files