Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.squirrelscan.com/llms.txt

Use this file to discover all available pages before exploring further.

Checks for images returning 404 errors
Rule IDimages/broken-images
CategoryImages
ScopeSite-wide
Severityerror
Weight6/10

Solution

Broken images hurt user experience and can indicate neglected content. Fix 404 images by: updating the src URL, restoring the missing file, or removing the img element. Use automated monitoring to detect broken images. Consider implementing fallback images with onerror handlers.

Enable / Disable

Disable this rule

squirrel.toml
[rules]
disable = ["images/broken-images"]

Disable all Images rules

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

Enable only this rule

squirrel.toml
[rules]
enable = ["images/broken-images"]
disable = ["*"]