@dsabyte OG Image Generator

Dynamic open graph images service

What is This?

This service dynamically generates Open Graph images to be used in HTML meta tags. OG images are configured with layouts to efficiently generate OG images.

This service is currently in use by @dsabyte and used to dynamically generate OG images for the blogs and discussions.

Note :

  • This service does't host your images for longer period, so make sure to download your generated image .
  • Following header is added on every image

    HeaderValue
    Cache-Controlpublic, immutable, no-transform, s-maxage=31536000, max-age=31536000

Want to ByPass the cache?

If you want to bypass the cache, provide a unique version that hasn't been used previously for that image. This version can be any random number, current timestamp, or anything but unique. This version number will be unique to that image and it can be used safely with other images. Version number needs to appended between api and image in og image endpoint.

Example URL:

https://ogp.dsabyte.com/api/{version}/image.png?layoutName=...
https://ogp.dsabyte.com/api/{version}/image.svg?layoutName=...