WordPress makes it easy to upload images, which is exactly why media libraries become messy. People upload full-resolution camera photos, screenshots, logos and banners without thinking about final display size. WordPress then generates thumbnails, but the original heavy file still sits on the server.
Optimizing before upload keeps the site lighter from the start. Backups are smaller, media pages load faster and editors are less likely to accidentally insert a 5000-pixel image into a small content column.
Prepare by image role
Hero images can often be 1600 to 2000 pixels wide. Blog body images usually work around 1000 to 1400 pixels wide. Author photos, icons and small cards need much less. Matching the export to the role prevents WordPress from carrying unnecessary pixels forever.
Use JPG or WebP for photos, PNG for logos and UI screenshots. If your theme and hosting setup support WebP, it is often a good choice for speed. If not, a well-compressed JPG is still reliable.
Do one clean export
The best workflow is source image, resize, compress, upload. Avoid downloading a WordPress-generated thumbnail and then re-uploading it elsewhere. That creates confusing duplicates and lower-quality copies.
If you manage a site with multiple editors, write down a few simple size rules. Consistency matters more than perfection. A team that always uploads images near the right size will outperform a team that depends on plugins to fix everything later.