A florist can turn a 5 MB camera photograph into a 250 KB image and still send the wrong file to every phone. For an actual improvement, pick a page, inspect the image the browser requests and find out what chose it. The remedy might be a smaller export, a different block setting, a more honest description of the layout width or simply loading the main image earlier.
Start with one job the picture does. A tiny thumbnail needs a recognisable subject. A wedding gallery needs enough detail for a customer to judge the work. A photograph of a menu needs legible text and an accessible text alternative to the information. The right size is a consequence of those needs.
Capture a fair baseline in the browser
Open the public page signed out. In Chrome DevTools, go to Network, enable Disable cache while DevTools is open, select Img and reload. For the image you care about, note the request URL, transferred bytes, response content type and when the request starts. The file extension in the HTML may differ from the format the image CDN actually returns. The Network response is evidence of what arrived. Chrome Network reference
Inspect the image element. Identify its displayed width in CSS pixels and the dimensions of the downloaded resource. You can select the image in Elements and read its currentSrc property in developer tools to see which candidate won. Record viewport dimensions and device pixel ratio. Repeat the observation at the desktop width that matters to the layout. A phone simulation is useful for controlled comparisons. Check a real phone for the final visual result.
Avoid comparing a cold first visit at one width with a reloaded page at another. The browser may reuse a large image it already has. If the photograph appears in several places, identify each element’s job and displayed width before attributing every request to the first image you see.
Work backwards from a 360-pixel card
Consider an illustrative florist’s gallery. Each card is 360 CSS pixels wide on a particular phone. At a device pixel ratio of two, a resource around 720 image pixels wide can supply roughly two source pixels for each CSS pixel. This is a starting point for evaluating the picture, not a rule that every browser must select a particular file. The candidate widths available, declared layout width and browser behaviour also matter.
| Observation | Interpretation | Next change |
|---|---|---|
| Card fills 360 CSS pixels; browser selects a roughly 768-pixel variant | Plausible for a high-density display | Inspect the crop and bytes before changing dimensions |
| Card fills 360 CSS pixels; every device receives a 3,000-pixel photograph | Likely a single full-size URL or unsuitable candidate selection | Inspect the block, template and image attributes |
| Card is sharp, but only the edge of the bouquet survives | Delivery may be efficient while composition fails | Choose a crop or focal point appropriate for the card |
| Hero is only 180 KB but appears well after the text | The transfer may be starting late | Inspect discovery, loading attributes and waterfall timing |
In HTML, srcset offers alternative resources; sizes describes the space the image is expected to occupy at different viewport widths. These are inputs to the browser’s selection. A template that announces a full viewport for an image that only fills a third of the desktop row can encourage unnecessarily large downloads. WordPress can output responsive attributes for images from its media library, but a custom page builder, CSS background or pasted external URL may follow another path. WordPress responsive images
Choose whether to fix the block, the template or the file
Open the page in the editor and locate the image by subject and placement. In an Image block, inspect the resolution or image-size choice your version exposes. Select a size suitable for its role. Preview the change and inspect the resulting HTML and network request. Dragging a picture smaller on the canvas can change its displayed width without shrinking the file.
If a shared card template controls every gallery, change the template once on staging and check three different subjects. Use a wide arrangement, a close-up and a difficult portrait. An improvement that gently crops a bouquet may remove a person’s face from the next thumbnail. If different art direction is necessary on mobile, use the theme or component’s supported responsive crop rather than permanently damaging the only master.
If the template is choosing appropriately but every candidate is heavy, work on the source. Keep an untouched master outside the website. Export a size with enough detail for the largest intended placement, then compare two quality settings at the display size people actually use. Judge texture, colour banding, hard edges, small lettering and transparency where relevant. Screenshots and line art can respond differently to compression from photographs.
Check format support in the complete delivery chain: WordPress, the server’s image library, the optimisation service and the browsers your audience uses. A format that compresses well is of little value if the host cannot generate its intermediate sizes. Reopen the attachment and verify the expected variants exist before uploading a whole season’s photography.
Give the first screen different treatment
The visible hero often determines when visitors perceive the page to have loaded. Find the Largest Contentful Paint element in a performance trace instead of assuming it is always the largest photograph. For a text-led page the title can be the important element.
When the hero is the LCP image, make it discoverable in the initial page where practical, supply its dimensions, and avoid lazy-loading it. A slider that waits for JavaScript to insert the first image can delay discovery even when the final transfer is small. Lazy-loading lower gallery images is often useful. Marking every card as high priority competes with the image that genuinely deserves an early start. How to optimise LCP
Use the waterfall to distinguish waiting to start from time spent downloading. If the request begins late, a slightly smaller image is unlikely to recover the whole delay. If it begins promptly but transfers a very large file over a slow connection, resize or encoding is the stronger first test. Run the same test before and after the change. Record bytes and timing separately.
Check the crop like a picture editor
A workshop hero, a square course card and a social preview may all use the same original photograph while demanding different compositions. In the hero a potter and a wheel can sit on opposite sides of the frame. A square crop taken from the centre might show only the potter's apron. Downloading fewer bytes will not fix the loss of the subject. Inspect each rendered crop before batching changes across the library.
Make a short placement list for an important asset. Record the page and slot, expected aspect ratio, whether the visitor needs to see the whole object and what alt text the placement requires. Set a suitable focal point where the theme supports it. For the card, choose a separate image or crop if the common focal setting cannot make both the face and the hands intelligible. Product photography sometimes requires the whole object to remain visible; a cropped sleeve or missing label can change what a customer thinks they are buying.
Check the boundaries of responsive behaviour rather than testing only one phone and one desktop. Resize around the point where three cards become two, then inspect the largest displayed card in each arrangement. The same card may be physically wider on a small tablet than on a wide desktop with four columns. If the browser gets a sizes hint describing one quarter of the viewport everywhere, it may choose a source too small for that tablet. If the hint always describes a full-width hero, it may download more than the card needs on desktop.
Inspect the image in its ordinary page layout at 100 per cent zoom before using high magnification. Save text, labelling, event dates and prices as real HTML where possible. A large raster with small typeset words may pass a desktop design review but become illegible as the card shrinks, and the next editor cannot update the information without a new image. For an actual diagram, compare a suitable source format with the required level of detail; defer decorative compression if a reader must be able to identify a small labelled feature.
If the business has a recognisable visual identity, keep a small inspected set of images as a quality reference: a face, a gradient, a detailed product and a high-contrast logo or diagram. One format or quality setting may work well for three and visibly damage the fourth. When moving to a media service, compare these known assets using the same display conditions and keep the originals. A service's percentage-saved figure alone cannot establish whether the published images are fit for their purpose.
Replace images without breaking other uses
An attachment may appear in a card, an article, a social preview and a downloadable press resource. Search for the older image URL or attachment usage before overwriting it. If a client needs the large original for a download, keep the download and use an optimised derivative in the page. A media-cleanup report may miss images inserted by a builder or stored in custom fields.
When new intermediate sizes are required for existing uploads, ask the theme maintainer about regenerating the affected sizes. Rebuilding a large library can consume storage and processing time. Try a small staging sample first, check the outputs and keep bandwidth and disk headroom for both old and new files while the work completes.
After publishing, refresh any relevant cached HTML and transformed image at the delivery layer. Reopen a phone and desktop view with comparable cache conditions. Confirm the selected variant, visual crop, label or alternative text, and the absence of layout jumps. If the measured change has introduced blur, revert to the previous export or a better candidate size. The goal is a quicker first view in which customers can still see what they came to buy. Website image SEO and accessible descriptions · Interpreting Core Web Vitals