Responsive Image Generation

Responsive images serve different file sizes to different screen widths. A 2400px hero image wastes bandwidth on a 375px mobile screen. Picture Optimizer generates multiple size variants from each upload — ready for srcset and the <picture> element.

  • Sample export first
  • Up to 100 images a batch, depending on plan

Try it on your own file

Drop an image here, or choose a file

It stays on your device. Nothing is uploaded from this page.

80
Sign up to optimise it

Nothing is processed on this page. The Free plan compresses your first 15 photos to AVIF or JPG; bigger photos are resized to fit 3 MB. WebP and AI text start on Starter.

At a glance

Responsive images at a glance

150, 300, 768, 1024 and 2048 px

WordPress preset

Standard web, social media, custom

Other presets

Starter and up

Plans

Figures from our sample run; AI text is Starter and up.

Same photo, a fraction of the file

From our sample run on photos of service businesses: plumber. The full-size AVIF, 2048 px wide; the same run also wrote 300w, 768w and 1024w AVIF sizes.

Plumber repairing white PVC sink drainage pipes under a kitchen sink with blue lighting, AVIF · 55 KB
Plumber repairing white PVC sink drainage pipes under a kitchen sink with blue lighting, JPG · 2.8 MB
The before shown here is a copy of the original resized for the web; its label is the original file’s size.
Works on Free

Why responsive images matter

On a small phone screen, a full-width photo only needs a few hundred pixels. Without responsive sizes, the browser still downloads the full-size file.

Responsive images fix this. The srcset attribute lists the same image at several widths, and the browser picks the one that fits. In our sample run, the plumber photo as AVIF was 55 KB at 2,048 px wide, 23 KB at 1,024 px, 17 KB at 768 px and 7 KB at 300 px.

How Picture Optimizer generates variants

Upload one image. Picture Optimizer generates variants from a preset: WordPress (150 × 150 px cropped, then 300, 768, 1,024 and 2,048 px wide), standard web, social media, or custom sizes you set. Each variant is compressed at your quality preset, in the format you chose.

The files are named with size suffixes, such as photo-300w.avif, photo-768w.avif and photo-1024w.avif. In WordPress, the plugin (Pro and up) regenerates the thumbnails WordPress uses for srcset.

Responsive images in WordPress

WordPress generates responsive srcset attributes automatically for images inserted via the editor. But it only generates variants at the sizes registered by your theme (thumbnail, medium, large, etc.).

Picture Optimizer's plugin works within this system: when it replaces an image, it regenerates the thumbnails, so the srcset points at the new, lighter files. No theme modification required.

Questions

Common questions about this tool.

No. It works with whatever sizes your theme and plugins register. If your theme registers 5 intermediate sizes, Picture Optimizer regenerates all 5 in the output format with compression applied.

Fresh from the blog: Page speed and Core Web Vitals