FreeStack guideWeb & code4 min

Smaller website images without losing the useful detail

A repeatable workflow for choosing the right crop, comparing compression and checking images on the page.

YOUR TOOLKIT IN ACTION
From tools to a finished project
PhotopeaPart of this creative toolkit
SquooshPart of this creative toolkit
SVGOMGPart of this creative toolkit
ImageMagickPart of this creative toolkit
Follow the guide and make it your ownIllustrative overview. Check the workflow and free limits below.
What you’re working towards

A small set of correctly sized web images, with originals retained and visual checks recorded.

An image should support the page at the size people will actually see it. Sending the largest available file does not automatically improve the result. This workflow starts with the layout, then reduces unnecessary data while checking the information the image needs to preserve.

About this guide & its examples

An editorial workflow to adapt to your project. Examples illustrate the intended result; they are not evidence of a tested export or a completed client project.

Illustrations are FreeStack concepts, not provider screenshots. Check the free limits below and test your own files before delivery.

Free boundaries before you start

What’s free, whether you need an account, and when we last checked.

Photopea · checked 2026-11-16

Core browser image editing remains free, with local processing, layers and PSD opening/saving. This check does not establish a recurring free AI allowance. Optional paid services are separate.

Core public editor available; account requirements for optional paid or connected features not established.

Squoosh · checked 2026-10-18

Apache-2.0 image-compression app with local image processing; the maintainer says images are not uploaded to a server. Its README separately discloses Google Analytics collection of basic visitor and before/after size data. Do not describe it as sending no data at all.

The public browser app has no account flow for its core compression operation; no signed-in test performed.

ImageMagick · checked 2026-11-14

No-charge personal/commercial local software. Redistribution needs licence copy and attribution.

No provider account is required for core local work; optional stores and services may require accounts.

PICTURE THE RESULT

A small example to aim for

STUDIO
01BOTANICAL SOAP
Before · busy background
STUDIO
01BOTANICAL SOAP
After · transparent PNG concept

Illustrative example · adapt it to your project.

Jump to a step
01

Identify the image’s job

Separate product-detail photography, decorative backgrounds, logos and interface screenshots. Each has different priorities. A screenshot must keep text readable; a background may tolerate more softening. Note the largest rendered size and likely crops before making exports. Keep originals outside the delivery folder.

02

Crop before you compress

Use Photopea or another suitable editor to remove irrelevant space and prepare a crop that fits the layout. Check that the subject stays visible in both wide and narrow versions. Avoid baking interface text into a decorative image if the page could display it as real text. Export a clean working version for comparison.

03

Compare a few sensible exports

Use Squoosh to explore a smaller raster export. Compare fine detail, gradients and important edges at the intended display size. Select the smallest result that still does the job rather than chasing a particular score. Record the dimensions and format so another person can repeat the decision.

04

Treat vector assets separately

For SVG files, SVGOMG is a candidate for removing unnecessary data. Inspect the result before replacing the original, especially when it contains text or effects. ImageMagick can help with repeated image-processing tasks, but test a small batch on copies before applying a command to a large folder.

05

Check the real page

Load the images in the actual layout and inspect a narrow screen as well as a large display. Confirm that the crop is sensible, essential detail is visible and descriptive alternative text is present where needed. Keep dimensions reserved in the layout so an image appearing does not move the content unexpectedly. Compare before-and-after file sizes without claiming a performance improvement you have not measured.

THE BUILD AT A GLANCE

Your workflow, connected.

Follow the steps and carry the output into the next stage. These are suggested handoffs, not automatic integrations.

  1. 01Define the image
    Start with a plan
    Sizes + intended use
  2. 02Prepare the crop
    Clean working image
  3. 03Compare exports
    Chosen raster export
  4. 04Handle other assets

    SVGOMG for SVGs; ImageMagick for optional batch tasks.

    Checked delivery assets
  5. 05Check in context
    Review & finish
    Images ready for the page

Provider information

Check current plans and documentation before committing to a workflow.

A couple of useful questions

Is there one correct file size?

No. The appropriate size depends on the image’s role, dimensions, detail and delivery context. Compare realistic alternatives on the actual page.

Should I automate everything?

Automate repeatable choices after you understand them. Keep exceptions for images where small text, colour or fine detail needs extra inspection.

What would you try?

Share your result or ask a specific question about this workflow.

Join the conversation
SPONSORED · THE DIGITAL ACADEMYSearch your site. See what you might need.

Start with a TDA website audit to find your next useful improvement.