● EONE / AUCKLAND, NZ
BRAND, DESIGN, WEB AND WORKFLOW
Client help · WordPress

Add photos without slowing your site

The size and format to use for website photos, how to resize them on a Mac or PC, and how to add alternative text.

A photo straight from a phone is often 4 MB or more, which is far bigger than a web page needs. Large photos make the page slow on mobile data. Resize before you upload.

Size to aim for

  • Width: 2000 pixels on the long side for full-width banners, 1200 pixels for pictures inside the text
  • Format: JPG for photos, PNG only for logos and graphics with flat colour
  • File size: under 300 KB for in-text pictures, under 500 KB for banners
  • File name: words that describe the picture, such as shop-front-ponsonby.jpg, not IMG_4821.jpg

Resize a photo

  • Mac: open the photo in Preview, choose Tools › Adjust Size, set the width, then File › Export as JPEG with quality around the middle.
  • Windows: open it in the Photos app, choose the ... menu › Resize image, and pick a size.
  • Any computer: the free browser tool Squoosh resizes and compresses in one step, and the photo never leaves your computer.

iPhone photos are often saved as HEIC, which some sites refuse. Set Settings › Camera › Formats to Most Compatible for JPG, or export the photo as JPG before uploading.

Upload and describe it

  1. Choose Media › Add Media File, or add an Image block in a page or post and upload from there.
  2. Fill in Alternative Text with a short description of what the picture shows. Screen readers read it aloud to people who are blind, and search engines use it.
  3. Leave the alternative text empty only for pictures that are pure decoration.

Use photos you took, paid for or have written permission to use. A picture copied from another website or a Google image search usually belongs to someone else.

Still stuck?

Email hello@eone.nz with the page address, a screenshot and what you tried.

More WordPress guides