# What is the recommended image size for the logo?

**URL:** <https://meta.discourse.org/t/what-is-the-recommended-image-size-for-the-logo/162451>\
**Category:** Product Support\
**Created:** [August 30, 2020, 5:22am UTC](https://meta.discourse.org/t/what-is-the-recommended-image-size-for-the-logo/162451 "2020-08-30T05:22:40Z")\
**Posts on this page:** 5\
**Page:** 1

## AI-generated summary

The recommended image size for the logo in Discourse is a matter of aspect ratio rather than specific dimensions. According to the branding page, the logo should have an aspect ratio greater than 3:1 with a height of 120. However, the default image size is 1858x512, which doesn't fit the height criteria. As [codinghorror](/t/-/162451/2) points out, the aspect ratio and a reasonably large size are more important to ensure the logo looks good on high DPI displays. Additionally, [Canapin](/t/-/162451/3) suggests using a PNG optimizer to reduce the image file size.

<div class="post-metadata">

**Author:** ![Xtendera](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xtendera/32/191772_2.png) [@Xtendera](https://meta.discourse.org/u/Xtendera)\
**Post date:** [August 30, 2020, 5:22am UTC](https://meta.discourse.org/t/what-is-the-recommended-image-size-for-the-logo/162451/1 "2020-08-30T05:22:40Z")

</div>

Hello, I just got Discourse setup on a ubuntu vm for development and am planning to deploy it through a azure vm. So before I deploy it publicly, I want to get all the customization done. So I came to the branding page in discourse, and it asks me to upload a “logo”. This is what is written under it:

> The logo image at the top left of your site. Use a wide rectangular image with a height of 120 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.

But if you click on the default image in the preview field, it says the image is 1858x512. That doesn’t fit the height criteria. What size should I make my logo?

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [August 30, 2020, 11:08pm UTC](https://meta.discourse.org/t/what-is-the-recommended-image-size-for-the-logo/162451/2 "2020-08-30T23:08:04Z")

</div>

It’s the ratio of height to width that is more important than the actual size. Plus 4k displays these days means you want a reasonably large logo image so it’ll look good on high DPI displays.

---

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [August 30, 2020, 11:36pm UTC](https://meta.discourse.org/t/what-is-the-recommended-image-size-for-the-logo/162451/3 "2020-08-30T23:36:30Z")

</div>

A bit off-topic, but that said, if you choose having large and heavy PNG logos, consider using a PNG optimizer like [https://tinypng.com/](https://tinypng.com/) or [https://pngquant.org/](https://pngquant.org/) (same thing, but as a desktop/command line app). Depending of your image, you can have a substantial decrease in your image weight, and the color loss due to the compression can be pretty much invisible to the human eyes.

---

<div class="post-metadata">

**Author:** ![Xtendera](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xtendera/32/191772_2.png) [@Xtendera](https://meta.discourse.org/u/Xtendera)\
**Post date:** [September 4, 2020, 8:42pm UTC](https://meta.discourse.org/t/what-is-the-recommended-image-size-for-the-logo/162451/4 "2020-09-04T20:42:01Z")

</div>

Sorry I was late…thanks!

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [October 4, 2020, 8:55pm UTC](https://meta.discourse.org/t/what-is-the-recommended-image-size-for-the-logo/162451/5 "2020-10-04T20:55:27Z")

</div>

Closed on October 4, 2020, 8:55pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
