Skip to main content

implement-progressive-image-loading

Implement progressive image loading with responsive sources, reserved layout, meaningful placeholders, priority, lazy loading, accessibility, and failure handling. Use when images delay rendering, waste bandwidth, shift layout, or fail on constrained networks.

소스 정보

저장소
protosphinx/sphinxstack
최근 소스 활동
2026년 7월 29일 13:55
감지된 SKILL.md 언어
영어
스타
3
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
implement-progressive-image-loading
category
web
description
Implement progressive image loading with responsive sources, reserved layout, meaningful placeholders, priority, lazy loading, accessibility, and failure handling. Use when images delay rendering, waste bandwidth, shift layout, or fail on constrained networks.
# implement-progressive-image-loading Load the right image at the right priority without hiding essential content. ## When to use - Use for editorial, product, gallery, dashboard, and user-generated images. - Do not lazy-load the primary above-the-fold image or replace meaningful alternative text with file names. ## Procedure 1. Inventory image roles, intrinsic dimensions, display sizes, formats, crop rules, density, themes, and content priority. 2. Generate responsive variants with explicit width and height, controlled quality, supported modern formats, and a reliable fallback. 3. Configure `srcset` and `sizes` from actual layout breakpoints and verify browser selection. 4. Reserve aspect-ratio space to prevent layout shift and use a neutral, nonmisleading placeholder. 5. Prioritize the likely largest-content image; lazy-load only below-the-fold images with appropriate distance. 6. Preserve useful alternative text, captions, links, zoom behavior, and high-contrast or reduced-data needs. 7. Handle decode, network, missing asset, and unsupported format failure without infinite retry. 8. Measure transferred bytes, selection, loading, layout shift, and visual quality across devices and networks. ## Done - An image-delivery map records role, dimensions, variants, formats, sizes, priority, lazy policy, alternative text, and fallback - Device, density, breakpoint, slow-network, cache, failure, accessibility, byte, and layout-shift tests verify delivery
GitHub에서 보기