Skip to main content
Checks for descriptive image filenames
Rule IDimages/filename-quality
CategoryImages
ScopePer-page
Severityinfo
Weight2/10

Solution

Use descriptive, keyword-rich filenames for images instead of generic names like IMG_001.jpg or DSC1234.png. Good: ‘red-running-shoes-nike.jpg’. Bad: ‘IMG_20231015.jpg’. Filenames contribute to image SEO and help search engines understand image content. Use hyphens to separate words.

Enable / Disable

Disable this rule

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

Disable all Images rules

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

Enable only this rule

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