Websites

How to prepare website images for clarity, accessibility and speed

Work from a rights-cleared original, choose useful dimensions and write meaningful alternatives without sacrificing the information visitors need.

By Graphic Core   /   Published
Monthly guide series: June 2020

Paper crop frames over a botanical photograph beside scissors.

Start with the job the image should do

An image may show a service, help visitors recognise a venue, explain a process or provide atmosphere. Decide what the reader should learn before choosing a file. A real, approved example can support an explanation; a generic decorative image should not be presented as proof of a project. Check your right to use the original before preparing it.

Make a list of where the asset will appear: a large article header, a small card, a gallery or a social preview. These uses can need different crops and dimensions. Work from a suitable original, retain it safely and prepare copies for the website rather than repeatedly compressing the only source file.

Choose dimensions for the actual placement

A file straight from a camera can contain far more pixels than a small website card needs. Ask the designer or content system for the expected display sizes and whether it produces multiple versions automatically. A suitable source should remain clear on the intended screens without forcing every visitor to download an unnecessarily large file.

Do not choose a universal width for every image. A detailed diagram, full-width banner and small thumbnail have different requirements. Check how a crop behaves on a phone: the subject should remain visible and any important information should not be cut off. Keep text in the page wherever practical so it can reflow and be read by assistive technology.

Understand format and compression choices

Common image formats have different strengths. JPEG is widely used for photographs; PNG can be useful where sharp detail or transparency matters. WebP and AVIF can reduce file sizes in suitable workflows, while SVG can be useful for certain vector graphics. Browser support, your content system and the image itself affect the right choice.

Compression reduces file size, but excessive lossy compression can introduce visible artefacts. Compare the prepared copy with the original at a realistic display size, especially around text, logos and fine details. There is no single quality setting that works for every image. Ask the developer how alternatives or fallbacks are handled when a format is not supported.

Write a useful text alternative

Alternative text should reflect the purpose of an informative image in its context. Describe the information a reader needs if they cannot see it, rather than repeating a long list of search phrases. A photograph showing the entrance to a venue might need a concise description of the entrance; an image used only as decoration can appropriately have an empty alternative.

For a complex chart or infographic, a short alternative alone may not carry every important detail. Provide an accessible text explanation, list or table nearby and make sure the figures and conclusions agree. Avoid embedding essential instructions only in the image. Check the W3C image guidance when deciding whether an image is informative or decorative.

Use descriptive filenames and sensible organisation

A clear filename helps a team identify an asset during updates and handover. Use a short description and an agreed naming convention, such as a subject and version, without including personal information or a long sequence of keywords. File names do not replace accessible alternative text or a meaningful caption on the page.

Keep a record of the creator, licence and approved use with the source. If several crops exist, record which is used for the article, thumbnail and social preview. Remove unnecessary personal metadata where appropriate, while preserving the original and the rights information the business needs to manage the asset.

An illustrative size comparison

Imagine preparing one photograph for a service-page card. A team starts with a large original, exports a compressed copy and then creates a version suited to the card’s actual display size. The accompanying chart uses made-up file sizes only to illustrate the direction of a possible workflow; it is not a measurement of your site or a promise of savings.

The team compares clarity at the intended size, checks a phone crop and keeps the original for future use. Another photograph or a different format may produce a different result. The correct decision balances appearance, file size, accessibility and the way the content system actually serves the image.

ILLUSTRATIVE CHART

Illustrative image file sizes during preparation

  • Original copy900 KB
  • Compressed copy420 KB
  • Sized copy210 KB
Illustrative example, not measured results. These made-up figures show a possible workflow; actual file sizes and quality vary.

Check the image in the finished page

Preview the page at a phone width and on a larger screen. Check that the image does not hide the heading, push essential content out of view or crop away the subject. Follow any image link and make sure its accessible name describes the destination. If an image conveys a result or instruction, check the same meaning is available in text.

Use performance tools as a diagnostic aid, not a substitute for viewing the page. A very large file may be worth optimising, but other scripts or server delays can also affect loading. Record the change and test again under comparable conditions, rather than claiming that an image adjustment alone will secure a ranking or enquiry.

A repeatable publishing checklist

Confirm permission and any credit; select an image that supports the content; preserve the original; prepare dimensions and format for the placement; compare quality; and write an alternative appropriate to the image’s purpose. For a chart, include the source or make the illustrative status clear and provide the underlying information in text.

Finally, check the page and any card or social preview, then store the approved file and rights information where the next editor can find them. Recheck the image when page content or the permitted use changes. A short repeatable process is more reliable than treating image preparation as a one-off task.

Document the version you publish

A useful asset record might say that a rights-cleared original photograph was exported as a wide service-page image and a separate card crop. Record the filenames, where the files are used, the approved credit and a short note describing what an informative image shows. If a crop removes a detail mentioned in the alternative text, revise the text to match what is actually presented.

For diagrams, keep the underlying labels and figures in editable text as well as the exported graphic. An accessible list or table near the image lets a visitor inspect the information without relying on colour or a tiny screenshot. Recheck the chart and its text after an update, and never present a fictional example as research. Retaining the source makes it easier to correct a label without recreating the whole asset.

YOUR NEXT MOVE / 01

Ready to make
more of your business?

Tell us about your website, your services and where you want to grow.

START A CONVERSATION