How we work with images

Images spark the imagination. But they can also be a source of frustration. With this article we streamline how we work with images and what the specifications for images are. Unlike a choice of words, these specifications are not up to debate.

Content requirements

List of technical requirements:

  • 1) All images are in src/assets/images or in a subfolder of src/assets/images.
  • 2) All images have a resolution of 960x540.
  • 3) All images have the PNG encoding to ensure lossless quality with a reasonable file size.
  • 4) All images should either be copyright-free or be licensed in such a way that we can (re)distribute them.

These requirements exist because of various post-processing steps. We use the Jekyll filters to transcode images to make them responsive and prevent Cumulative layout shifts. Through these post-processing steps we create a better user experience when users load in the news website.

Content guidelines

List of content guidelines:

  • 1) The image should be related to Supreme Commander: Forged Alliance Forever in some fashion.
  • 2) The image should follow the official rules, in particular the content guidelines section.
  • 3) The image should have as little embedded text as possible.
  • 4) The alternative text of the image should be relatively accurate of its content.

These guidelines improve the accessibility of the website. As an example, embedded text can’t be read by screen readers.

References

Jekyll plugins

HTML

screen