Neova高级 SEO 平台

图片未经有效压缩

在 Neova 中 开启 Lighthouse 设置后运行:它使用您 Mac 上的 Chrome。

规则最近审核:2026年10月17日 · 指南更新:2026年7月7日

Lighthouse 估计,在不改变尺寸的情况下,更强的压缩可以让图片变小。对同一张图片,这部分节省可能与现代格式标记的节省有重叠。没有任何搜索引擎规定这一上限。

您可以做什么

在构建过程中或通过图片 CDN,以更低的质量设置压缩标记中列出的图片。

Neova 为何标记

  • 图片往往占页面体积的大头,压缩不佳的文件会让页面变慢,在移动数据网络下尤其明显。
  • Lighthouse 会估算在相同尺寸下加强压缩能节省多少。
  • 没有搜索引擎规定这个限制;4 KiB 这条线来自 Lighthouse。

来源

完整指南

这一部分目前只有英文版。

TL;DR

Your image files are heavier than they need to be, over-quality JPEGs, un-optimised PNGs, originals served at full size into a small slot. Compress them and the page gets lighter with no visible loss. The wins compound: pick the right format, drop quality to a sane level, resize to the actual display size, and strip metadata.

This check flags images that are not efficiently compressed, files carrying more bytes than the visible quality requires. A JPEG saved at quality 100, a photograph stored as a PNG, a 4000px original squeezed into a 400px thumbnail, all move data the user never benefits from. Trimming that fat cuts page weight, speeds up load, and lightens the largest contentful paint, usually without a pixel of visible difference.

What This Check Flags and Why It Matters

The audit compares each image's delivered size against what an efficiently encoded version would weigh and flags the gap. Images are the heaviest thing on most pages, so an un-optimised image library is often the single biggest chunk of wasted bandwidth on a site. The stakes are slower loads on mobile, a worse LCP when the offender is the hero, and real data cost for visitors, all recoverable with encoding choices that cost you nothing in perceived quality.

A Real Before-and-After

A photographer's portfolio served hero shots as quality-100 JPEGs straight from the camera, roughly 2.4 MB each. Re-encoding at quality 82 and resizing to the real display width brought them to about 240 KB, a tenth of the weight, indistinguishable on screen. Same tools, run from the command line, that make the fix repeatable:

# Resize to real display width and re-encode JPEG at a sane quality
cjpeg -quality 82 -optimize input.jpg > output.jpg

# Or with ImageMagick: resize + strip metadata + quality in one pass
magick input.jpg -resize 1200x -strip -quality 82 output.jpg

# WebP, typically 25-35% smaller than JPEG at equal quality
cwebp -q 80 input.jpg -o output.webp

Quality 80 to 85 is the sweet spot for photographs, small enough to save real weight, high enough that nobody notices. Below about 70 you start seeing artefacts.

Pick the Right Format First

Half of efficient encoding is choosing the format that suits the image. The wrong format wastes bytes no quality setting can recover.

Image Type Best Format Target Quality Avoid
Photograph WebP or AVIF, JPEG fallback 78-85 PNG (huge for photos)
Logo, flat graphic SVG, or PNG-8 Lossless JPEG (fuzzy edges)
Screenshot with text PNG or lossless WebP Lossless Low-quality JPEG
Icon SVG Vector Any raster at large size
Transparency needed WebP or PNG 80 / lossless JPEG (no alpha)

How to Detect It

  1. PageSpeed Insights: run the URL and open the "Efficiently encode images" opportunity, which lists each oversized file with the potential byte savings.
  2. Lighthouse: the same audit in Chrome DevTools under Performance, plus "Properly size images" and "Serve images in next-gen formats", which usually appear alongside it.
  3. curl: check the real transfer size of a suspect image without downloading the whole thing:
    curl -sI -A 'Mozilla/5.0' https://example.com/hero.jpg 
      | grep -i content-length

    Anything over a few hundred KB for a standard content image is worth a look.

  4. DevTools Network panel: sort requests by size and let the biggest images rise to the top, that is your priority list.

How to Fix It

Work in this order. Resize every image to the largest size it is actually displayed at, no 4000px files in a 600px column. Choose the format that fits the content from the table above. Compress to quality 78 to 85 for photos, lossless for graphics and text. Strip EXIF and colour-profile metadata you do not need. Then automate it, an image-optimisation plugin or a build step so new uploads never reintroduce the problem. On WordPress, a compression plugin plus correctly sized theme image dimensions handles most of this without touching individual files. Related fixes: serve images in next-gen formats to go beyond JPEG, enable text compression for the non-image bytes, and improve LCP when the worst offender is your hero.

FAQ

What Quality Setting Should I Use for JPEG and WebP?

For photographs, 78 to 85 is the practical range, real savings with no visible loss. Below 70 artefacts creep in; above 90 you pay in bytes for quality nobody perceives on a screen. Test on your own images, since ideal quality varies with subject and noise.

Will Compressing Images Make Them Look Worse?

Not at sensible settings. Lossy compression at quality 80-plus is visually indistinguishable from the original for most photos while cutting weight dramatically. The visible-damage risk only shows up when you push quality too low or re-compress an already-compressed file repeatedly.

Is This the Same as Serving Next-Gen Formats?

Related but distinct. Efficient encoding is about compressing whatever format you use to a sane weight; next-gen formats are about switching from JPEG/PNG to WebP or AVIF, which are smaller at equal quality. Do both, they stack.

Should I Resize Images or Just Compress Them?

Both, and resizing usually wins the bigger saving. Serving a 3000px image into a 500px slot wastes the majority of the bytes before compression even enters the picture. Resize to display size first, then compress.

Can I Automate Image Optimisation?

Yes, and you should. A build-step tool or a CMS plugin re-encodes every new upload automatically, so the fix holds instead of decaying as the team adds fresh images over time.

Need a full technical audit?

Neova flags every oversized image and encoding waste across your whole site.

在您自己的网站上找到它

Neova 在每次抓取时都会运行此检查项和其他所有检查项,然后把修复方法写成工单交给您的团队。

  • 适用于 Mac、Windows 和 Linux 的桌面应用
  • 全部 696 项检查,每项都附来源
  • Search Console 和 Analytics 4,以只读方式连接
  • 工单发送到 Jira、Linear 和 Asana

下载 Neova Desktop Free 套餐,或免费试用 Solo 14 天,无需银行卡。

全部图片检查 · 指南 · 检查项库

作者:Neova Labs · 返回检查项库