본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)75k · #2834

error-images

하는 일

이 스킬은 웹사이트가 깨지거나 없는 이미지를 우아하게 처리하는지 확인합니다. 그림이 실패해도 정돈되어 보이는 페이지를 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓사이트에서 방문자가 깨진 이미지 아이콘을 볼 때.
  • ✓외부 출처의 사진이 가끔 불러와지지 않을 때.
  • ✓이미지에 의존하는 갤러리나 상품 목록을 만들 때.

스킬 링크

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/error-images/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/error-images/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“사이트의 깨진 이미지가 깨진 아이콘으로 보이지 않도록 대체 이미지를 추가해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 이미지의 오류 처리를 확인하고, 자리표시자나 대체 이미지를 제안합니다. 이미지 오류를 기록해서 사용자가 알아차리도록 하는 방법도 제안할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Handle image loading errors gracefully

Broken image icons look unprofessional and confuse users—graceful fallbacks maintain visual consistency and user trust when images fail to load.

Quick Reference

  • Use onerror to replace broken images with fallbacks
  • Provide meaningful placeholder content, not broken image icons
  • Consider skeleton loaders while images load
  • Log image errors for monitoring and debugging

Check

Check if the website handles broken images gracefully with fallback images or error states.

Fix

Implement fallback images or placeholder content for broken image scenarios.

Explain

Explain how proper error handling for images improves user experience.

Code Review

Review image assets, markup, and delivery configuration related to Handle image loading errors gracefully. 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/error-images

자주 묻는 질문

대체 이미지는 어떻게 동작하나요?

이미지가 실패하면 보통 이미지 요소에 달린 오류 처리기가 페이지에 자리표시자를 바꿔 넣습니다.

스켈레톤 로더란 무엇인가요?

콘텐츠가 불러와지는 동안 보이는 회색 자리표시자 모양입니다. 이 스킬은 이를 하나의 선택지로 나열합니다.

누락된 이미지 파일 자체를 고쳐 주나요?

아니요. 이 스킬은 이미지가 실패할 때 페이지가 어떻게 반응하는지를 다루며, 파일이 없는 이유는 다루지 않습니다.

상세 정보

작성자의 원본 설명

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

repo: thedaviddias/Front-End-Checklist

인기도

GitHub 스타
75k
순위
#2834
라이선스
MIT
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬