Overview
Blog post images are created in Figma. The image appears at the top of each blog post, above the headline. It's also used as the Open Graph image.
Dimensions
Open Graph images are 1200x630
, so we stick with those dimensions to keep this simple. (This is approximately double the size they'll be displayed at, making them look nice and crisp on HiDPI screens.)
Export an image from Figma
- Custom blog art lives in Figma: Art board → Blog
- Make sure artwork fills the entire frame.
- Ensure frame doesn't have a border.
- Rename the frame of the image to closely match the blog post title in a slug format. (Ex:
writing-for-developers
, where we remove capital letters and punctuation, and replace spaces with hyphens. This will become the filename that is uploaded to the server.) It's best to omit articles (a, and, the). - Export the image as a PNG (at 1x).
- Save the image and add it to the issue.
The image should be uploaded by the person creating the blog post.
Adding to a blog post
- Upload the file to
/contents/images/blog
. - Make sure the filename matches the reference to the image in the .md file.