Guidelines

Main site

Typography Colour system Iconography Imagery Content Layout & spacing Actions and input Mobile applications Accessibility
Home Design guidelines Imagery

Imagery

Imagery conveys more than a message; it conveys a feeling ... a vibe. A consistent style of imagery is at the heart of creating your brand identity.

Principles of using images

Great imagery stays true to your brand: it conveys a consistent style in how busy the images are, their colour, framing and mood. A great image is also relevant to its context. For example, the hero image on a services page could show positive human interaction, such as giving and receiving help.

An Image that describes the concept of being memorable

Memorable

Images should reflect reality to strengthen the user's connection with and recognition of the content.

Human

Images of people are recommended, as they resonate more with users.

Future forward

The outlook of the content should be progressive and optimistic.

Using images

Keeping the principles and the need for context in mind, follow the approach below.

Photography

A perfect image is contextual, and the approach must be practical. It is recommended to conduct a photo shoot and use real images that are relevant to your entity. If context-relevant images are not available first hand, source them from third-party providers. The objective is to communicate real, relevant content visually.

Simplicity in the background

Use images with minimal content in the background, so that the subject is in focus. Do not use images with too much detail when the message can be communicated more simply.

The example here communicates the use of a VR headset; the simple approach makes it more memorable.

A man wearing a VR headset against a plain blue background

A simple approach with the focus on the subject

A woman wearing a VR headset in a busy, colourful arcade

A busy image in which the subject and background colours blend together

Colour reduction

Reduce the number of colours, or use natural colour. Do not use too many colours, or manipulate colours with an unrealistic hue, saturation, brightness or contrast.

Burj Khalifa against a clear blue sky in natural colours

Natural colours with a limited palette

Burj Khalifa lit in purple against an orange, heavily saturated night sky

Unrealistic hue and saturation

Natural lighting

Capture photos in natural lighting and keep the lighting balanced, even if it means taking the image at night. Do not use images where the lighting is inaccurate or casts shadows over the subject in focus.

The Sheikh Zayed Grand Mosque in bright, even daylight

Balanced natural light that shows the subject clearly

The Sheikh Zayed Grand Mosque at dusk in dim, uneven light

Poor lighting that leaves the subject dull and underexposed

Natural colour

Use the natural colour of the image, and adjust the white balance for a better colour balance. Do not apply colour filters or fill objects with unnatural colours.

An aerial view of a road interchange and metro line in natural colours

Natural colour with a corrected white balance

The same road interchange with a purple colour filter applied

A colour filter applied over the whole image

When selecting photographs, keep the following in mind:

  • Use landscapes, cityscapes, natural beauty and architectural landmarks.
  • Use people, reflect diversity and show equality.

Framing

The rule of thirds helps control the visual weight of the objects in an image:

  • Centre single subjects and groups photographed against a solid background.
  • Apply the rule of thirds to images that have a distinct foreground and background, placing the subject on one of the thirds.

A man in a kandura centred against a plain grey background, with a rule-of-thirds grid overlaid

Centre a single subject on a solid background.

The same subject placed on the right third of the frame, leaving space on the left

Placing the subject on a third suits hero images (website headers) only, not small containers.

Cropping

Crop an image around its foreground and focal point. A good crop emphasises the subject and removes clutter, so that there is greater focus on the focal point.

Tailwind CSS includes aspect-ratio utilities, such as aspect-square and aspect-video, and the design system provides the Aspect ratio component to crop images to a consistent ratio. Use the following ratios:

A portrait with crop guides for the 1:1 circle, 3:4, 1:1, 3:2, 16:9 and 21:9 ratios

Circle (1:1)
aspect-square rounded-full

Portrait (3:4)
aspect-[3/4]

Square (1:1)
aspect-square

Landscape (3:2)
aspect-[3/2]

Widescreen (16:9)
aspect-video

Panoramic (21:9)
aspect-[21/9]
<!-- Tailwind CSS utilities -->
<img src="service-hero.jpg" alt="..." class="aspect-video w-full object-cover" />

<!-- Design system component -->
<aegov-aspect-ratio ratio="square md:video xl:21/9">
  <img src="service-hero.jpg" alt="..." />
</aegov-aspect-ratio>

People

Use photographs that reflect the diversity and happiness of the people of the UAE, and the quality of life that the nation provides to its citizens and residents.

A woman in a black abaya and shayla against desert dunes

A young woman in a headscarf holding a notebook outside a building

Colleagues reviewing a document together at a laptop

Team photography

A team is a group of people on a single mission, and this unity should be conveyed in a consistent visual style. The team section is available as a block in the design system.

  • Images should be uniform in weight: each person occupies the same amount of space in their image.
  • Take the photographs in natural light, at a similar time of day and in the same location, for consistent brightness and shadows.

Team member portrait on a consistent background

Team member portrait on a consistent background

Team member portrait on a consistent background

Team member portrait on a consistent background

Same background, framing and lighting for every team member

Team member photographed in a different environment

Team member photographed in a different environment

Team member photographed in a different environment

Team member photographed in a different environment

Different environments, background colours and poses

Visual complexity

Visual complexity, or the "busyness" of an image, refers to the number of elements, colours and the amount of contrast in it. Consider it carefully when choosing images for a website.

Foreground and background

For images with several objects, such as events or outdoor scenes, separate the foreground from the background and always concentrate on the subject.

Use images with a prominent subject; the focal point should occupy approximately 50% of the image, in the foreground. Do not blur the background artificially to create focus. When a visually complex photograph cannot be avoided, use one with a natural blur, or crop it.

A speaker at a podium in the foreground, with a panel seated in the background

The main subject in the foreground, the environment in the background

The same scene with the background blurred artificially in editing

An artificial blur added in editing

Audience members in sharp focus, with the presenter on stage naturally out of focus

A sharp subject with the background blurred naturally by the lens aperture

Colour, tone and contrast

If a specific colour palette should be visible in your images, set up the photo shoot to capture the intended colour tones. Do not add colour overlays in post-production; only correct the colour temperature for the location.

A portrait shown side by side before and after colour temperature correction

Correct the colour temperature

An aerial view of Downtown Dubai, half in original colour and half with a warm colour overlay

Do not add overlays or a tint when there is no text on the image

Burj Al Arab and palm trees under a clear blue sky

Use clean photographs

The Downtown Dubai skyline with heavy HDR processing and exaggerated colours

Do not use heavily edited images

Text on images

Ideally, use an image that has space for text. If you have to use an image with limited or no space, add a black overlay to create contrast. Text on images must still meet a contrast ratio of at least 4.5:1, or 3:1 for large text, as required by Success Criterion 1.4.3 Contrast (Minimum).

A heading and description placed beside a person wearing a VR headset, on a solid green background

Use images with a solid background and add text in the space next to the subject

The same content on a yellow background, with the text overlapping the person

Avoid overlapping the image with text; when it cannot be avoided, use an overlay

A large green heading placed behind a person wearing a VR headset, still readable

Place text behind the subject only if it stays readable

A white heading partly hidden behind the person, so that it cannot be read

Do not place text behind the subject when it becomes hard to read

White text reading Federal Event over an event photograph with a 30% black overlay

Add a 30% black overlay to moderately busy images before adding text

White text reading Federal Event over the same photograph with a red overlay

Do not use any colour other than black for the overlay

White text reading UAE 5G Conference over a panel photograph with a 60% black overlay

Increase the black overlay to 60% on very bright or crowded images

Red text reading UAE 5G Conference over the same photograph without an overlay

Never add coloured text to a bright or crowded image without an overlay

Separate the image and the text

Whenever possible, place the text next to the image rather than on it. This always gives the best reading experience.

Speakers on stage at the UAE 5G Conference

The UAE 5G conference
11–18 April 2021

In line with the UAE Vision 2021, TDRA aims to be the main driver in launching the fifth generation of commercial mobile services in the country.

Alternative text

Every image needs a text alternative, as required by Success Criterion 1.1.1 Non-text Content, so that people who use screen readers, or who cannot load images, get the same information.

  • Informative images need an alt attribute that describes what the image shows and why it is there, in one short sentence. Do not start with "Image of" or "Photo of"; screen readers already announce that it is an image.
  • Decorative images that add no information, such as background textures or illustrations next to a heading that says the same thing, take an empty alt="" so that screen readers skip them.
  • Images of text should be avoided. Use real text styled with CSS instead, as required by Success Criterion 1.4.5 Images of Text. Text in images cannot be resized, translated or read by every assistive technology.
  • Bilingual sites must provide the alternative text in the language of the page, so the Arabic page describes the image in Arabic.

Describe the purpose of the image

A good alternative text describes what matters about the image in its context, not every visual detail.

<img src="5g-conference.jpg"
     alt="Speakers on stage at the UAE 5G Conference">
Short, specific and relevant to the content
<img src="5g-conference.jpg" alt="image">
<img src="5g-conference.jpg" alt="IMG_2041.jpg">
<img src="5g-conference.jpg">
Vague, redundant or missing

Image quality

Resolution, sharpness and size determine the quality of an image. Always use the correct dimensions, and resize images proportionally according to their aspect ratio.

Do not stretch or enlarge images

Do not use incorrect dimensions, or increase the dimensions of an image in code, as this reduces its sharpness.

A small, low-resolution image enlarged until it becomes pixelated

A low-resolution image enlarged beyond its original size

Using image source sets

The srcset attribute lists the image files a browser can choose from in different situations. The browser picks the most suitable version based on the screen size and resolution; this is known as responsive images.

Larger images have larger file sizes, and there is no point in loading, for example, a 2,400-pixel-wide, 20 MB image on a mobile phone. srcset saves bandwidth and speeds up page loading, and load speed is a ranking factor for search engines. Always set width and height so that the browser can reserve the space and the layout does not shift while the image loads.

<img
  srcset="gov-image-480w.jpg 480w, gov-image-800w.jpg 800w"
  sizes="(max-width: 600px) 480px, 800px"
  src="gov-image-800w.jpg"
  width="800" height="533"
  alt="Speakers on stage at the UAE 5G Conference">

Using the picture element

The <picture> element also lets the browser display different images based on the device, but it can show entirely different images (for example a different crop), not just different sizes, and it can offer modern file formats with a fallback.

In the example below, setup-001_primary.jpg or setup-001_primary-2x.jpg is displayed on screens wider than 768 px. The image in the <img> tag is the default and should be the smallest file.

<picture>
  <source media="(min-width: 768px)" srcset="setup-001_primary.jpg, setup-001_primary-2x.jpg 2x">
  <source media="(min-width: 465px)" srcset="setup-001_tablet.jpg">
  <img src="setup-001_mobile.jpg" width="465" height="310" alt="The default image">
</picture>

The need for a CDN

A content delivery network (CDN) is a geographically distributed network of proxy servers and data centres. It is strongly recommended to use a CDN to distribute assets such as images and video. A CDN brings:

  • speed
  • efficiency
  • the ability to serve images optimised for each device

Image formats

Modern image formats give much smaller files at the same visual quality:

  • WebP is supported by all modern browsers and is typically 25–35% smaller than an equivalent JPEG.
  • AVIF usually compresses even further than WebP, and is supported by all current major browsers.
  • SVG is the right choice for logos, icons and simple illustrations, as it stays sharp at every size.

Serve WebP or AVIF through the <picture> element or your CDN, and keep the original JPEG on the server as a fallback for older browsers. Add loading="lazy" to images below the fold so that they load only when the user scrolls to them.

<picture>
  <source type="image/avif" srcset="service-hero.avif">
  <source type="image/webp" srcset="service-hero.webp">
  <img src="service-hero.jpg" width="1200" height="800"
       loading="lazy" alt="A family using a government service on a tablet">
</picture>

Using computer-generated imagery

If taking photographs or finding relevant stock images is not feasible, computer-generated imagery (CGI) is the recommended approach. These images are created with specialist software, which gives you control over the entire process, from lighting to layout.

However, the use of CGI must be kept to a minimum and used only when required.

The responsible use of AI-generated imagery

Prompt-based artificial intelligence (AI) has made it easy to generate images, and these images must be used carefully. AI can be used to create objects, to edit them further, or to produce part of the final image used on the website.

  • Do not generate images that go against the values, principles, beliefs and culture of the UAE.
  • Do not generate or use images that are unrealistic.
  • Do not generate images that convey irrelevant information.
  • Do not generate images of real, identifiable people, or images that could be mistaken for a real event.
  • Check that the terms of the AI service allow the intended use, and review every image before publishing.

An AI-generated image of a camel caravan crossing desert dunes

An AI-generated aerial view of high-rise towers along a canal

An AI-generated wooden pavilion in the desert at sunset

Application of CGI images

It is recommended to use CGI only in hero images. If CGI is required for other images, such as cards and tiles, a justification should be provided for why natural photography was not used.

A website hero with a computer-generated trophy and a dark gold overlay behind the headline

Using illustrations

Illustrations are used to tell a story, convey a mood, or use a metaphor to make a complex idea clear and relevant. They are one of many ways to represent values that users can engage and connect with. Think of illustrations in the same way as photography and video: they are visual storytelling tools.

Illustrations must be part of a theme or pattern. Select a particular illustration style, and use it consistently across all communication.

Illustration principles

Less is more

Create simple styles that are easy to recognise.

Geometric

Build illustrations from basic geometric shapes.

Solid colours

Do not use gradients, contouring or soft transitions.

Hierarchy

Place the subject in the foreground and supporting objects in the background.

High contrast

Strong contrast makes the important elements stand out.

Where to use illustrations

You may use illustrations in the following components and blocks:

  • Hero sections
  • The primary image of blog content
  • Spot illustrations in content blocks
  • Cards
  • Error pages
  • Empty states
  • Illustrations are a strong storytelling method; use them only where required.
  • Mixing illustrations and photography should follow an 80–20 rule. If the website's theme is illustration, photography should make up 20% of the imagery and illustrations 80%. Reverse the rule if the primary theme is photography.
  • Use an icon instead of an illustration when the object is less than 100 px wide.