We use images to enhance the website’s design. They help connect the content across webpages and improve user experience.
Guidelines
- Use high-quality, licensed images, or those created for your site.
- Get a signed HRSA release form for any images using trademarks, logos, well-known people, or other private groups.
- Provide alternative text (alt text) descriptions for all images. Ensure it conveys the image’s meaning.
- Describe the image clearly
- Keep it under 250 characters
- Do not include “image of" or “picture of"
- Use null alt text (alt="") for decorative images
- Follow the HRSA Web Editorial Style Guide and HHS 508 guidelines when creating image captions.
Formats
- Photos: JPG at 72 dpi | compression no less than 80%
- Illustrations and icons: PNG at 72 dpi | transparent background
- Icons and logos: SVG
Sizes
- Ensure all images are at least 640 pixels (px) wide.
- Resize images proportionally to maintain their aspect ratio. Do not stretch or condense images.
- Check the component or grid layout on the page to determine image size.
Sizing by use type
Image size depends on where you plan to use the image.
Components
These use fixed ratios, widths, and heights. Crop and resize images to exact values for optimal display.
Component | Image width | Image height |
---|---|---|
Hero | 2,000 px | 800 px |
1/2 card, 1/3, and 1/4 cards | 640 px | 253 px |
2/3 card | 640 px | 640 px |
Body content
You can tell an image’s size based on its ratio and width. For the width, look at the number of grid columns it uses and multiply by 120 px.
Photos and illustrations use ratios of 16:9, 4:3, or 1:1. Use the following image sizes for popular image ratios and grid layouts.
16:9 image ratio
Layout (number of grid columns) | Image width | Image height |
---|---|---|
Full width (12) | 1,400 px | 788 px |
2/3 width (8) | 950 px | 534 px |
1/2 width (6) | 700 px | 394 px |
1/3 width and under (4 and less) | 640 px | 360 px |
4:3 image ratio
Layout (number of grid columns) | Image width | Image height |
---|---|---|
Full width (12) | 1,400 px | 1050 px |
2/3 width (8) | 950 px | 713 px |
1/2 width (6) | 700 px | 525 px |
1/3 width and under (4 and less) | 640 px | 480 px |
Examples
Full width image, 16:9 ratio
twelve
-
-
2/3 width image, 4:3 ratio
-
Four
Eight
-
1/2 width image, 16:9 ratio
-
1/2 width image, 4:3 ratio
-
six
six
-
1/3 width image, 16:9 ratio
-
1/3 width image, 4:3 ratio
-
1/3 width image, 1:1 ratio
-
four
four
four