DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 966,904 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for Adding a cover image to your dev.to articles
Kenny
Kenny

Posted on

Adding a cover image to your dev.to articles

Photo by Austin Distel on Unsplash

I ran into some cover image issues when I started writing on dev.to not until I came across an article about how to add cover picture/image to your article so that prompt me to write this article to help whoever that might need it.

Note: adding a nice cover image to articles is very essential and you can do that on dev.to by adding a cover_image: entry to that block at the top. For example, the block for this post should look like this:

---
title: Adding a cover image for your dev.to articles
published: true
description: "Photo by Austin Distel on Unsplash"
tags: blogging,,coverImages,,article
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/a8c7m9up8jcpa2zuycnk.jpg

---

Get a nice picture/images maintaining the ratio of 1000x420 pixels for better resolution.

Thank you for reading.

Top comments (2)

Collapse
 
saveshodhan profile image
Shodhan Save • Edited on

I add this snippet in a new post and nothing happens.. what am i missing?

Collapse
 
jonasbn profile image
jonasbn

Did you remember to remove the comments which are there by default?

Please provide your complete snippet if possible

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.