Skip to content

Consider a different caption style for image galleries  #8030

@kjellr

Description

@kjellr

The Problem

The current implementation of gallery captions is problematic in some circumstances. For instance, when images get small, caption text is cut off and appears broken:

artboard copy 3

In this case, overflow text is scrollable, but for many users that's not clear from the appearance (#7963). It's also unwieldy to edit captions in such a small space — text and controls are hidden and appear clipped off (#6858):

screen shot 2018-07-18 at 12 16 05 pm

Additionally, even when gallery images are larger, long captions can overlap a significant portion of the image, blocking it from view:

screen shot 2018-07-18 at 12 02 32 pm


Proposed Solution

All of those issues could be avoided by adopting the caption style used for individual image captions: gray text, placed below the image. In addition to solving those issues, this may be a preferred style for some users in general.

Alternatively, we could address those issues with the current implementation and consider adding this new caption style as a second option for users — some users will not want text overlapping their images in any case.


Screenshots

Current:
artboard copy 3

Proposed:
artboard copy 4


Current:
artboard

Proposed:
artboard 2


Current:
artboard copy

Proposed:
artboard copy 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs DecisionNeeds a decision to be actionable or relevant[Block] GalleryAffects the Gallery Block - used to display groups of images[Feature] BlocksOverall functionality of blocks[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions