--- title: 'Open Graph images' description: 'When you share your blog posts, a thumbnail image appears - the image we define as an Open Graph Image. This starter generates these images for your blog posts automatically.' date: 2023-01-25 --- When you share your blog posts, a thumbnail image may appear - the image we define in our meta data as an Open Graph Image (`og:image`). This starter now generates these images for your blog posts automatically. The fallback and default image for all other pages is the image set as `opengraph_default` in the `meta.js` global data file. `meta-info.njk` {% raw %} ```html ``` {% endraw %} To change the look and behaviour of those images and replace the SVG background edit `src/social-preview.njk`. The implementation is based on [Bernard Nijenhuis article](https://bnijenhuis.nl/notes/automatically-generate-open-graph-images-in-eleventy/).