Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

OG Images for Indian Regional Pages: Step-by-Step

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Open Graph (OG) images are the preview thumbnails that appear when a link is shared on WhatsApp, Facebook, LinkedIn, or Twitter. For pages in Indian regional languages (Hindi, Tamil, Bengali, Marathi, etc.), a well-designed OG image can significantly boost click-through rates by making your content look native and trustworthy. This guide walks you through creating OG images that render correctly across platforms, with proper font support, text shaping, and file specifications.

What You'll Need

  • An image editor: Canva (free tier works), Figma, or any tool that lets you export at exact pixel dimensions.
  • Access to the regional language fonts: Google Fonts (Noto Sans, Noto Serif, or language-specific like “Mukta” for Marathi, “Hind” for Hindi, “Catamaran” for Tamil).
  • A way to preview the final image: a browser or a phone with WhatsApp installed.
  • Basic knowledge of your page’s branding (colors, logo, tagline).

Step-by-Step

  1. Check the required dimensions. The standard OG image size is 1200×630 pixels. This ratio (1.91:1) is used by Facebook, LinkedIn, and most chat apps. For WhatsApp, the same size works, but the preview may crop the bottom or sides depending on the device. Keep important elements in the center-safe zone (about 600×600 pixels in the middle).
  2. Choose a template or create a blank canvas. In Canva, select “Custom size” and enter 1200×630. In Figma, create a frame with those dimensions. If you’re using a static image editor like Photoshop, set the canvas to 1200×630 at 72 DPI.
  3. Set the background. Use a solid color, gradient, or a subtle pattern. Avoid busy backgrounds that make text hard to read. For regional language pages, using a cultural color (saffron, green, deep blue) can add context.
  4. Add the text in the regional language. Type directly in the editor. If you’re using Canva, switch the font to a Google Font that supports the script. For Hindi, use “Noto Sans Devanagari” or “Hind”. For Tamil, use “Noto Sans Tamil” or “Catamaran”. For Bengali, use “Noto Sans Bengali” or “Hind Siliguri”. If the font doesn’t appear, install it on your system first.
  5. Set the text size and position. The title should be large enough to read on a small phone screen. A font size of 60–80px for the main headline works well. Keep the text within the central 80% of the canvas to avoid cropping. Align left or center; left alignment is safer for longer titles.
  6. Add supporting elements. Include your page’s logo at the top or bottom corner, a date or category label, and a subtle call-to-action like “Read More” in the regional language. These elements should not overlap the main text.
  7. Check text rendering. Some platforms have trouble with complex scripts (like conjuncts in Hindi or Tamil). To ensure the text renders correctly, export the image as a PNG (not JPG) to avoid compression artifacts. Also, flatten the image (merge all layers) before exporting to avoid font issues.
  8. Export the image. Go to File → Export (or Share → Download) and choose PNG. Ensure the file size is under 8MB (most platforms accept up to 8MB, but smaller is better). The ideal file size is 200KB–1MB.
  9. Test the image. Use a tool like the Facebook Sharing Debugger (developers.facebook.com/tools/debug) to see how your image looks when shared. For WhatsApp, send the link to yourself on a phone and check the preview. If the image is cropped, adjust the placement and re-export.
  10. Update your page’s meta tags. In the HTML of your page, add the following meta tags (if not already present):
    <meta property="og:image" content="https://yourdomain.com/og-image.png" />
    <meta property="og:image:width" content="1200" />
    <meta property="og:image:height" content="630" />
    <meta property="og:image:type" content="image/png" />
  11. Cache busting. If you update the image later, platforms may still show the old one due to caching. Add a version parameter to the image URL, like og-image.png?v=2, to force a refresh.

Common Mistakes

  • Using the wrong font. If the font doesn’t support the script, you’ll see boxes (□) or garbled text. Always use a font that explicitly supports the language.
  • Text too small. On a mobile phone, the OG image is often displayed at a width of 300–500 pixels. If your text is smaller than 40px, it becomes unreadable.
  • Ignoring the safe zone. Platforms crop the image to a square (1:1) or to a smaller rectangle in some contexts. If your text is near the edges, it may get cut off.
  • Exporting as JPG. JPG compresses text and can cause artifacts, especially around sharp edges of letters. Use PNG for crisp text.
  • Forgetting to update the meta tag. Even if you create a beautiful image, if the og:image tag is missing or points to the wrong URL, it won’t show.

Tips

  • Use a text outline or shadow. This improves contrast and readability, especially if the background is busy.
  • Keep the title short. Aim for 5–7 words in the regional language. Long titles get truncated or become too small.
  • Use a consistent template. Create a reusable template in Canva or Figma so you can quickly generate images for new posts.
  • Test on multiple platforms. WhatsApp, Facebook, and Twitter may crop differently. Use the preview tools to see how it looks.
  • Consider the language script. For Devanagari, the text is taller than Latin. Adjust the line height and spacing accordingly.
  • Use a CDN for the image. A content delivery network ensures fast loading, which is important for platforms that fetch the image.

Troubleshooting

  • Image not showing at all. Check that the URL in the og:image tag is absolute (starts with https://) and accessible without login. Use the Facebook Sharing Debugger to see any errors.
  • Text appears as boxes. This means the font is not embedded or the platform doesn’t support the script. Re-export the image with the text converted to outlines (in Figma) or flatten the image in Photoshop.
  • Image is cropped on WhatsApp. WhatsApp tends to crop the top and bottom. Move the main text to the vertical center of the image.
  • Old image still shows after update. Clear the cache using the platform’s debugger tool (Facebook has “Scrape Again”) or add a query string to the URL.
  • File size too large. Reduce the image dimensions (but keep aspect ratio) or use a compression tool like TinyPNG. Aim for under 1MB.
  • Blurry text. Ensure you’re exporting at 1200×630 pixels. If you’re scaling up a smaller image, it will blur.

Frequently Asked Questions

Q: Can I use any font for Hindi/Tamil?
A: No, you must use a font that supports the specific script. Google Fonts like Noto Sans Devanagari, Noto Sans Tamil, and Noto Sans Bengali are safe choices.

Q: What if my page is in multiple regional languages?
A: Create a separate OG image for each language, or use a template that allows dynamic text. The og:image tag can be set per page using a CMS or custom code.

Q: Does the image need to be exactly 1200×630?
A: It’s recommended, but not mandatory. Platforms will scale it. However, using the exact size ensures the best quality and minimal cropping.

Q: How do I make the text render correctly on all devices?
A: The safest way is to flatten the image (rasterize the text) before exporting. This ensures the text is part of the image and doesn’t rely on the viewer’s fonts.

Q: Can I use a screenshot of my page as the OG image?
A: Yes, but it’s not ideal because screenshots often have low contrast and irrelevant content. A custom-designed image performs better.

Q: How often should I update the OG image?
A: Update it whenever the page content changes significantly, or when you want to promote a specific topic. Use versioning to force platforms to refresh.