Skip to content
Back to skills

Critical Images

ASecurity

Use when reviewing image assets, markup, and CDN or build transforms related to Prioritize loading critical images. Check encoded size, rendered size, loading strategy, and above-the-fold impact together.

  • 74,358 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 5, 2026
developmentgofrontend

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 5, 2026

npx -y skills add thedaviddias/Front-End-Checklist --skill critical-images --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Critical Images?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Critical Images
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedaviddias-critical-images/badge)](https://www.skillsdirectory.com/skills/thedaviddias-critical-images)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: critical-images
description: "Use when reviewing image assets, markup, and CDN or build transforms related to Prioritize loading critical images. Check encoded size, rendered size, loading strategy, and above-the-fold impact together."
metadata:
  category: images
  priority: high
  difficulty: beginner
  estimatedTime: "15"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/images/critical-images
---

# Prioritize loading critical images

The Largest Contentful Paint (LCP) is often an image—prioritizing its load can improve LCP by 20-40%, directly impacting Core Web Vitals and SEO.

## Quick Reference

- Use fetchpriority='high' on LCP images
- Preload hero images in document head
- Remove loading='lazy' from above-the-fold images
- Critical images directly impact LCP Core Web Vital

## Check

Identify which images are critical for initial render and ensure they load with high priority.

## Fix

Add fetchpriority='high' to critical images and use preload for hero images.

## Explain

Explain how prioritizing critical images improves Largest Contentful Paint (LCP).

## Code Review

Review image assets, markup, and delivery configuration related to Prioritize loading critical images. Flag exact files or components where format choice, sizing, or loading behavior violates the rule, and describe how to confirm the fix in DevTools.

---

For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.

Rule page: https://frontendchecklist.io/rules/images/critical-images

Files in this skill

  • SKILL.md1.5 KB
  • references/rule.md3.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…