Learn how to manage notices and alerts on your colorado.gov website.

 
0

Image Size Recommendations

#FFFFFF

When adding an image to a page, there are a few important things to take into account. Some tips and tricks to use images in the most effective way can be found below, as well as a series of layouts with the pixel width of the image noted in the layout. All dimensions will be noted in pixels (px) unless otherwise specified.

  • Base64 for image files is not a recommended and is not supported.  This format increases the size of the image file which impact load times, and the likelihood that the file within an iframe will cause the page to have load problems.
  • Images on the site will constrain to their width. When working on content in a card the width is set by the row width selected and the number of cards within the row, and the height of the row is set to the largest card height in that row. If you have a large paragraph of text within a Basic card that has more line height than the height of your image within a Media card, the image will have empty space below it. If the image is taller than the content beside it, the row will be the height of the image. For these reasons, when planning out your content, the most important measurement for an image is its width (exception: Jumbotron).
  • Images can be displayed in three ways: Cards, Jumbotrons and Featured images.
    • The card use applies to any image added with a Media card or through the WYSIWYG editor Media button.
    • The Jumbotron and Featured image have set image sizes (see below).
  • If you add an image via the WYSWYG editor Media button, you can set a thumbnail size which is determined by the largest side of the image.
    • For example, if you select the 650 x 650 thumbnail and have uploaded a 1300 x 650 image, the resulting thumbnail will be 650 x 325, rather than the square that the dimensions imply.
  • Jumbotron - The Jumbotron will be as wide as the browser window you have open. We recommend images are no smaller than 1920 x 450 for the Jumbotron i.e., Jumbo Slides. The wider the image the better, although the height will always be 450 high. Jumbotron images are also the size used in Hero rows on Landing pages.
  • Featured Image - The Focal Point Scale and Crop on Featured images is set to 1200 x 400.

Other image reminders:

  • If you add an image with a width larger than the recommended width for a space, the image will resize down proportionally to the size of the space.
  • Images will align to the top left corner of the layout they are in, so if an image has a smaller width than the recommended width in a card, it will be at the top right corner of the layout you have selected.
  • To display images in a row that are the same size, crop the images to the same pixel dimensions before uploading them to the Media library via the CMS.

In the following examples you will see layouts exaggerated for the purposes of displaying these points. You will also see many of the same images displayed in different layouts. These images have been uploaded into the Media library once, and then are reusable throughout the site.

Note that all uneven column rows are combinations of ratios used in the equal column row examples.

#FFFFFF

What size space are you trying to fill?

Space Fraction Smallest Width Recommended
2 Column Uneven Row 1/4 320 pixels
  3/4 1020 pixels
  1/3 450 pixels
  2/3 900 pixels
3 Column Uneven Row 1/4 320 pixels
  1/2 700 pixels
  1/6 200 pixels
  2/3 900 pixels
Equal Column Row 1 1400 pixels
  1/2 700 pixels
  1/3 450 pixels
  1/4 320 pixels
  1/5 250 pixels
  1/6 200 pixels

 

#FFFFFF

Jumbotron

Width greater than 1920 px (2115 px ideal)

Height equal to 450 px

#FFFFFF

Equal Column Row, 2 Cards

Width greater than 700 Pixels

Height determined by image and relative to the space (seen to the right, 425px)

 

a boy and man walking on a trail on a hill at sunset
#FFFFFF

Equal Row, 3 Cards

Width greater than 450 px

Height determined by image and relative to the space (Image heights from left to right, 300 px, 580 px)

View over Denver from the east facing west at the high rises

black lab sitting on a road with the sun setting behind
#FFFFFF

Equal Column Row, 4 Cards

Width greater than 320 px

Height determined by image and relative to the space (Image heights from left to right, 210 px, 213 px, 477 px)

Black cat looking over a ledge

5 laptops with people working at them as seen from above

A man walking across a crosswalk in a city
#FFFFFF

Equal Column Row, 5 Cards

Width greater than 250 px

Height determined by image and relative to the space (Image heights from left to right, 370 px, 330 px, 160 px, 165px)

A man walking across a crosswalk in a city

black lab sitting on a road with the sun setting behind

a boy and man walking on a trail on a hill at sunset

View over Denver from the east facing west at the high rises
#FFFFFF

Equal Column Row, 6 Cards

Width greater than 200 px

Height determined by image and relative to the space (Image heights about 130 px each)

Black cat looking over a ledge

5 laptops with people working at them as seen from above

View over Denver from the east facing west at the high rises

a boy and man walking on a trail on a hill at sunset

#FFFFFF

Sample of photos resized externally and uploaded to the site

Width 250 px Height 312 px

#FFFFFF

clip from a texture photo

clip from a texture photo

clip from a texture photo

clip from a texture photo

clip from a texture photo