본문으로 건너뛰기
Skillpedia
소셜 미디어75k · #2959

og-image-size

하는 일

이 스킬은 페이지를 소셜 네트워크에 공유할 때 쓰이는 Open Graph 이미지를 확인하고, 일반적인 요구 사항에 맞지 않으면 크기를 조정합니다. 소셜 플랫폼에 웹사이트 콘텐츠를 공유하는 사람들을 위한 것입니다.

사용하는 경우

  • ✓페이지의 소셜 공유 이미지를 확인하거나 만들어 달라고 요청할 때.
  • ✓공유 링크에 빈 이미지, 잘린 이미지, 흐린 이미지가 나올 때.
  • ✓새 페이지를 준비하면서 공유 이미지가 소셜 플랫폼에 맞도록 하고 싶을 때.

스킬 링크

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/og-image-size/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/og-image-size/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분.

작동 방식

에이전트는 og:image 태그를 찾고, 이미지를 가져와 너비, 높이, 가로세로 비율, 파일 크기를 확인합니다. 1200 x 630픽셀 버전을 제안하거나 만들고, 크기 태그를 추가하며, 절대 HTTPS 주소를 사용합니다.

기술 내용 (원본 SKILL.md)

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

OG Image Size

An incorrectly sized og:image is displayed poorly or not at all on social platforms—Facebook, Twitter/X, LinkedIn each crop or skip images that don't meet their requirements, resulting in blank or distorted link previews.

Quick Reference

  • og:image should be 1200×630 pixels (1.91:1 aspect ratio)
  • Minimum size is 600×315 pixels; smaller images may not display
  • File size should stay under 5 MB; under 1 MB is preferred
  • Use JPEG or PNG; WebP has limited support on older platforms

Check

Find the og:image meta tag in <head> and fetch the image URL. Check the image dimensions and file size. Flag if width < 1200px, height < 630px, aspect ratio differs significantly from 1.91:1, or file size exceeds 5 MB.

Fix

Generate or resize the og:image to exactly 1200×630 pixels. Export as JPEG at 80–85% quality to balance visual quality and file size. Reference the absolute HTTPS URL in the og:image meta tag. Add og:image:width and og:image:height tags to help platforms render the image without downloading it first.

Explain

Social platforms use og:image to construct the visual card shown when a URL is shared. An image too small may be skipped or shown as a thumbnail. An image with the wrong aspect ratio gets cropped, often cutting off important content. The recommended 1200×630 size ensures optimal display across Facebook, LinkedIn, Slack, and iMessage.

Code Review

Check the og:image meta tag value. Fetch the image and verify: (1) dimensions are at least 1200×630 px, (2) aspect ratio is approximately 1.91:1, (3) file size is under 5 MB, (4) URL is absolute HTTPS, (5) og:image:width and og:image:height tags match actual dimensions. Flag relative URLs or images smaller than 600×315 px.


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

Rule page: https://frontendchecklist.io/rules/seo/og-image-size

자주 묻는 질문

공유 이미지의 크기는 얼마여야 하나요?

스킬은 1.91 대 1 비율에 가까운 1200 x 630픽셀을 권장합니다.

어떤 파일 형식이 가장 좋나요?

스킬은 일부 구형 플랫폼에서 WebP 지원이 제한적이므로 JPEG나 PNG를 쓰라고 설명합니다.

width와 height 태그는 왜 추가하나요?

플랫폼이 이미지를 먼저 내려받지 않고도 표시할 수 있게 도와줍니다.

상세 정보

작성자의 원본 설명

Use when auditing Open Graph tags or generating og:image assets. Applies to any page that may be shared on social networks or messaging platforms.

repo: thedaviddias/Front-End-Checklist

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬