Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 29 Next »

This guide covers how images work in the Single Digital Presence (SDP) Content Management System (CMS). It also includes recommended image ratios and a size guide for images used in CMS components.

On this page:

Changes to CMS images

In the latest update of the Ripple front-end design system, ratios are now used rather than exact pixel sizes for CMS images.

Image containers are responsive and change on different devices. It was designed this way to best display your content and make optimal use of the available screen space.

Because of this, we cannot give exact image sizes for components.

How to use image ratios and CMS components

  • Below you will find some guidelines to help choose the right image.

  • We have included some generic image sizes for components, but due to the nature of responsive websites and design, we recommend testing the image display before it’s published.

  • You can find some instructions below on how to test a front-end preview of your page.

Recommended file types

There are many file types you can upload onto the CMS, but for images the following file types are recommended:

  • JPEG

  • PNG (this is a preferred format)

Step 1: Select the right image

Select images that provide an opportunity to position the focal point on the right side. If an image is flipped horizontally, be mindful of text on clothing or street signs, as they will be backwards.

One of the most frequently encountered resolutions for images taken with cameras and mobile phones is 1280 pixels wide x 720 pixels high. When you upload an image, there's no need to crop it yourself; the CMS automatically handles the cropping for you. All you will need to do, is set a focal point (and this is achieved in the CMS).

hana-el-zohiry-HV2My97JHA0-unsplash.jpg

If images are used in a hero banner, avoid important information on the left of the image, as this will be blocked by the page title and summary.

Selecting Image Example.png

Step 2: Resizing an image

If you need to resize your image and don’t have professional software like Adobe Photoshop, you can use the suggested free image editing tools:

Images are predominately in 2 formats, portrait or landscape.

While our CMS is designed to support these 2 formats, we recommend using a landscape image. If you decide to use a portrait image, we recommend to have lots of space around the subject.

You can use the guides below to resize your images, however, images must be tested to ensure they display correctly across different devices. Use steps 3 and 4 below.


Landscape images (ratio 16:9)

A rough guide for landscape images is:

  • wide: 1280 pixels

  • high: 720 pixels

Recommended component use:

  • Basic text

  • Promotion card

  • Navigation card

  • Card carousel

  • Call to action

  • Latest events

  • News listing

  • Primary campaign and secondary campaign

  • Feature image

Media 4x3.png

Ultrawide format (ratio 21:9)

A rough size guide for crystal-clear hero banner images is:

  • wide: 2560

  • high: 1440 pixels

Recommended component use:

  • Hero banner / full-width background images

  • Call to action banner

Hero banner / full-width background display on devices

Below is an example of how a hero banner image responds using the standard ratio of 16:9, on small, medium and large screens.

Mobile phone (small screen)
Screenshot 2024-03-20 at 1.24.27 pm.png
Tablet (medium screen)
Screenshot 2024-03-20 at 1.22.46 pm.png
Desktop (large screen)
Screenshot 2024-03-20 at 1.22.27 pm.png

Tip: the image moves around a pre-defined image container. The image will enlarge and crop differently to suit a user’s device, as well as the length of your content.

For example, if you have 3 lines of introduction text in your headline, the image will zoom in and use the maximum height of the image to allow for the extra content.


Avatar (ratio 1:1)

This image will be automatically masked with a circle, you will only need to provide a square image. Make sure you upload an image that is zoomed into the face, because these image types are reduced significantly.

A rough size guide for avatar images is:

  • wide: 400 pixels

  • high: 400 pixels

Recommended component use:

  • Profile image

  • Timeline image

  • Social image

Media 1x1.png

Avatar display in the timeline component

Below is an example of how an image is used in the timeline component.

Timeline mockup.png

Step 3: Upload the image and set the focal point

For the optimal presentation of your image across all devices and screen sizes, it's best to set a focal point.

  1. Select the Media icon, then Add image.

  2. Add a descriptive title for the image to the Name field (this is what’s used to search for your image in the Media library).

  3. Select Choose File to add a new image and select the image from your computer.

  4. Once the image has been uploaded, you can set the focal point of the image by using your mouse or moving the + icon on the image to the desired focal point:

    image-20240319-012215.png

  5. Complete the Alternative text field (if the image is informative) and the Title field.

  6. Select Save.

Step 4: Review the image before publishing

Test the image to see how it will respond on different devices. This means that you should check that the position of your image focal point works for the following screens:

  • small (mobile phone)

  • medium (tablet)

  • large (desktop).

How to test your image on different screen sizes

When previewing a front-end draft of your page, right-click on an empty area of the website and select Inspect > Inspect Element.

Alternatively, you can use the following keyboard shortcuts:

  • Mac: Command + Option + i

  • PC: Ctrl + Shift + I

Then select the Dimensions drop-down to change to particular device / screen size.

Remember, the website is responsive and will adjust the image based on the amount of content used, and the device it is displayed on.

Inspect - change device.png

Logos

Logos can now be placed in various locations within your site. Follow these dimensions for the best outcome and clarity of your logo.

  • Width: 280 pixels

  • Height: 80 pixels 

  • File type: PNG

Supporting logo in hero banner

  • Width: 656 pixels

  • Height: 184 pixels 

  • File type: PNG

  • Width: 240 pixels

  • Height: 96 pixels  

  • File type: PNG

Favicon

  • Width: 512 pixels

  • Height: 512 pixels 

  • File type: PNG


More information

  • No labels