URL: /rules/images/lazy-loading

---
title: "Lazy Loading"
description: "Checks for lazy loading on below-fold images"
---

Checks for lazy loading on below-fold images

| | |
|---|---|
| **Rule ID** | `images/lazy-loading` |
| **Category** | [Images](/rules/images) |
| **Scope** | Per-page |
| **Severity** | info |
| **Weight** | 3/10 |

## Solution

Use loading='lazy' on images below the fold to defer loading until needed. This improves initial page load and saves bandwidth. Native lazy loading is supported by all modern browsers. Don't lazy load above-fold images (especially LCP candidates). Consider loading='eager' for critical images.

## Enable / Disable

### Disable this rule

```toml squirrel.toml
[rules]
disable = ["images/lazy-loading"]
```

### Disable all Images rules

```toml squirrel.toml
[rules]
disable = ["images/*"]
```

### Enable only this rule

```toml squirrel.toml
[rules]
enable = ["images/lazy-loading"]
disable = ["*"]
```
