Before you begin: Keep the originals before batch processing. The goal is to convey information clearly with the right file, not to compress every image down to one target size.
Start with the image's purpose and actual display size
Photos, product close-ups, admin screenshots and decorative images need different levels of clarity. Decide the display width in the page first, then choose the upload dimensions. A tiny card thumbnail does not need a phone to download the camera's original full-size file every time.
Don't shrink an instructional screenshot until the text is unreadable either. Crop screenshots to the relevant area and add clear written explanation; product images should keep details that help buyers decide. Consistent ratios help listing covers, but in-body screenshots should keep a ratio that is comfortable to read.
Choose format and compression by image type
Compare JPEG, WebP and other formats at similar clarity for photos; check transparency, text edges and fine detail separately. WebP supports both lossy and lossless modes, but that does not mean every file becomes smaller or sharper after conversion.
Test a few typical images in a small batch first and check edges, gradients, text and product colours before settling on settings. Keep originals and a way to restore them. If a plugin handles conversion automatically, also confirm your server's image library, thumbnail generation and caching work with it; an optimized badge in the dashboard is not enough.
Fill in media information and use appropriate sizes
Give files understandable names before uploading, then write alt text that describes what the image actually shows. A screenshot should explain the relevant setting or action rather than repeat the article's keywords; purely decorative images can use empty alt text where appropriate.
When inserting a native image block, pick a size that fits the layout and preview it. WordPress and themes may generate several sizes, with srcset and sizes helping browsers choose a resource. Having those attributes does not guarantee the configuration is correct — check which image the browser actually uses.
Reserve width and height so text and images stay stable
Reserving sensible dimensions or an aspect ratio before an image loads reduces sudden layout shifts. Keep natural proportions for in-body images and crop card thumbnails according to the design. Don't stretch tutorial screenshots with a fixed height, and don't crop away important content while keeping the old alt text.
Check on desktop and mobile: whether images overflow the content area, whether captions wrap and whether key fields remain legible when zoomed. After changing media settings, existing thumbnails usually need separate handling; back up first and understand the resource cost of regenerating them.

Treat above-the-fold and later images differently
Lazy loading suits images seen only after scrolling, delaying unnecessary downloads. If a key above-the-fold image is delayed, main content may be affected, so don't force lazy loading on every image. Check the default output of your theme and WordPress first, then decide whether an extra plugin is needed.
Avoid several plugins rewriting image URLs, adding placeholders or controlling lazy loading at once. If images appear blank, load only after scrolling or go missing on mobile, check the loading scripts, cache and image format fallback item by item; raising compression quality will not fix a loading problem.
Verify what actually downloads after publishing
Open the page in a logged-out browser, filter the network panel by images and inspect the actual response format, file size and URL. Switch to mobile width and reload to see whether an oversized original is still downloaded; cached results can differ from a first visit, so record your test conditions.
Spot-check above-the-fold images, in-body screenshots and listing thumbnails for broken images, distorted proportions or blurry key text. Keep page content and test conditions the same when comparing before and after. Only when files are smaller and functionality and information remain intact has the optimization done its job.
FAQ
Should every image be under 100KB?
No single threshold fits all. In-body screenshots, detailed photos and small thumbnails serve different purposes, so balance clarity, display size and loading cost.
If I upload WebP, is no other optimization needed?
You still need to check dimensions, compression quality, responsive sources, lazy loading and caching. Format is only one factor; wrong dimensions can still waste bandwidth.
Further reading
- How to speed up a WordPress site: from measurement to real gains
- WordPress launch checklist: domain, SEO, security and backups
- 2026 beginner's guide to building a WordPress site from scratch
Official sources and references
- WordPress image block documentation
- Native browser image lazy loading
- Google's image optimization guidance
- WordPress performance optimization documentation
Sources last checked on October 19, 2026. Software interfaces and service terms can change — always compare against the version you are actually using.