Skip to content

Commit 32b3cd9

Browse files
authored
Merge pull request #562 from cmu-delphi/sgratzl/image_size_docs
Add hints about image sizes
2 parents 8ec8d15 + 4e23cfc commit 32b3cd9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,26 @@ People on this website are centrally managed in the `/content/people/index.md` f
176176

177177
News items are short announcements that should be persistent. The are centrally managed in the `/content/news/headless` directory. Each news item is its own file with content, title, and publication date.
178178

179+
## Image Sizes and Aspect Ratios
180+
181+
The website is configured to automatically resize images for optimized page load times. However, starting with a proper aspect ratio is essential.
182+
183+
"Artifacts" are undesirable blurry or blocky areas of an image created during resizing or compression. The presence and impact of artifacts can be affected by multiple factors, including the original size (greater size difference to target -> more artifacts), but also the actual content of the image (slow gradients next to areas of high contrast are particularly bad). You can reduce or avoid artifacts by choosing an image which is closer to its target size, or swapping in an image with more background texture.
184+
185+
Following images size and aspect ratios are used:
186+
187+
| Image Type | Preferred Size | Aspect Ratio | Target Width |
188+
| --- | --- | --- | --- |
189+
| Landing Page Banner | 1440x500 | 2.88:1 | 1440px |
190+
| Team Member | 250x250 | 1:1 | 250px |
191+
| Blog Banner | 1120x440 | 2.5:1 | 1120px |
192+
| Blog Teaser | 300x300 | 1:1 | 300px |
193+
| Research Paper Teaser | 300x300 | 1:1 | 300px |
194+
| Latest Card Teaser | 300x300 | 1:1 | 300px |
195+
| News Item Teaser | 300x300 | 1:1 | 300px |
196+
197+
198+
179199
## Release Process
180200

181201
The release consists of multiple steps which can be all done via the GitHub website:

0 commit comments

Comments
 (0)