og-image-size
यह क्या करती है
यह स्किल उस Open Graph इमेज की जाँच करती है जो पेज सोशल नेटवर्क पर शेयर होने पर दिखती है, और अगर वह आम ज़रूरतों पर खरी न उतरे तो उसका आकार बदलती है। यह उन लोगों के लिए है जो वेबसाइट का कंटेंट सोशल प्लेटफ़ॉर्म पर शेयर करते हैं।
कब इस्तेमाल करें
- ✓जब आप एजेंट से अपने पेजों की सोशल शेयरिंग इमेज जाँचवाएँ या बनवाएँ।
- ✓जब शेयर किए गए लिंक में प्रीव्यू इमेज खाली, कटी हुई या धुंधली दिखे।
- ✓जब आप नया पेज तैयार कर रहे हों और चाहें कि उसकी शेयर इमेज सोशल प्लेटफ़ॉर्म पर सही फ़िट हो।
Skill का लिंक
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/og-image-size/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“जब मैं अपने लिंक शेयर करता हूँ, तो प्रीव्यू इमेज कटी या धुंधली दिखती है। क्या आप शेयरिंग इमेज का आकार जाँचकर ठीक कर सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट og:image टैग खोजता है, इमेज लाता है, और उसकी चौड़ाई, ऊँचाई, आस्पेक्ट रेशियो और फ़ाइल आकार जाँचता है। फिर वह 1200 गुणा 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
अक्सर पूछे जाने वाले सवाल
शेयरिंग इमेज का आकार कितना होना चाहिए?
स्किल 1200 गुणा 630 पिक्सल की सिफ़ारिश करती है, जो लगभग 1.91 से 1 का आस्पेक्ट रेशियो है।
कौन-सा फ़ाइल प्रकार सबसे अच्छा है?
स्किल JPEG या PNG कहती है, क्योंकि WebP कुछ पुराने प्लेटफ़ॉर्म पर सीमित रूप से सपोर्ट होता है।
चौड़ाई और ऊँचाई के टैग क्यों जोड़ें?
ये प्लेटफ़ॉर्म को इमेज डाउनलोड किए बिना उसे दिखाने में मदद करते हैं।
जानकारी
लेखक का मूल विवरण
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.
लोकप्रियता
- GitHub स्टार
- 75k
- रैंकिंग में स्थान
- #2959
- लाइसेंस
- MIT
- अपडेट की गई
- 31/10/2026
कमेंट
- …
इस repository की और skills
frontendchecklist
75kकमांड-लाइन टूल से फ़्रंटएंड कोड और लाइव पेजों को एक्सेसिबिलिटी, स्पीड, SEO और सिक्योरिटी के 380 से ज़्यादा नियमों से जाँचती है।
frontend-checklist-global
75kफ़्रंटएंड प्रोजेक्ट को Front-End Checklist के सभी 386 नियमों से ऑडिट करती है, और हर मिली समस्या का ठोस समाधान देती है।
404-page
75kजाँचती है कि आपका गुम पेज उपयोगी लिंक देता है और सही 404 स्टेटस लौटाता है, ताकि भटके हुए विज़िटर रास्ता ढूँढ सकें।
about-page
75kजाँचती है कि आपकी साइट पर एक साफ़ About पेज है जो बताता है कि उसे कौन चलाता है, ताकि विज़िटर और सर्च इंजन का भरोसा बढ़े।
मिलती-जुलती skills
xurl
394kयह आपके एजेंट को प्रमाणित xurl टूल से X पर पोस्ट करने, जवाब देने, खोजने और पढ़ने, सीधे संदेश भेजने और मीडिया अपलोड करने में मदद करती है।
connections-optimizer
280kयह आपके social network connections बेहतर बनाता है। यह बताता है किसे follow या unfollow करना है और अपने network को बढ़ाने के लिए personalized messages लिखने में मदद करता है।
content-engine
280kयह अलग-अलग platforms के लिए content बनाता है। X, LinkedIn और YouTube जैसे networks पर अच्छे काम करने वाले posts, scripts और content calendars तैयार करने में मदद करता है।