Media

Gallery

A media gallery is a collection of images, videos or audio files that allows a user to quickly browse media related to the page content. The media gallery can include multiple types of formats and sometimes act as links to other pages or sites.

Anatomy

Anatomy of navigation lists
  • mandatory
  • optional
ElementsMandatoryDescription
media thumbnailyesthumbnail representative of the linked media
media iconyesicon indicating the type of media
captionnouse caption indicative of the media linked content - this allows users to form a mental model of the information available
* see notes

Do's

  • always include thumbnails
  • always include ALT tag
  • write captions that are short, distinct and indicative and communicate the subject of the media content that is linked
  • select appropriate images for media thumbnails, they need to depict what is in the audio or video file
  • select matching icon overlays to indicate the type of media, i.e. audio icon, video icon

Don'ts

  • don't automatically play audio or video files when a user arrives on a page (or scrolls to a media gallery)
  • don't automatically play next items after an audio or video item finished
  • don't choose images which are too complex to be distinguished in thumbnail size

When to use

  • where there are several media files - if there are under 5 items, use an unordered list or a media container
  • where there is no need to prioritise or highlight specific media files, i.e. files are equally important in terms of content

When not to use

  • do not use the gallery when media items have a content hierarchy
  • do not use the gallery when specific items should be highlighted

Notes

Accessibility

  • make sure the ALT tag for each media file accurately describes the subject (such as for an image: "Undergraduate student looking into microscope to examine specimen in biology laboratory" instead of something generic like "Science image 1")

Design

  • captions
    • desktop: display on hover
    • mobile: display under the thumbnail

Overlay

The media gallery overlay component represents the interaction interface. It is complementary to the gallery component. Through the component users can view, download and share items present in the media gallery. All information displayed in this component is pulled directly from the gallery component and therefore offers no interaction through the CMS.

Anatomy

Anatomy of gallery overlay
  • mandatory
  • optional
ElementsMandatory desktopMandatory mobileDescription
(change picture) buttonyesyesbutton that let's you scroll through all media content
(download) buttonyesyesbutton that downloads the picture/video currently on display
(social media) buttonnonosocial media share button, opens Social media pop-up
(close) buttonyesyescloses the gallery overlay
captionnonocaption that explains the media content being linked to
media thumbnailyesnothumbnail that represents the media being linked to
(pagination) buttonyesyesbutton that scrolls through available pages of media content

Conditional

ElementsMandatory desktopMandatory mobileDescription
show more buttonyesyesif there are more than 12 media files, the last item becomes a button informing the users there are more files available. Clicking it acts the same as the pagination arrows

Do's/ Don'ts/ When to use/ When not to use