What is the recommended image size for the logo?

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?

2 Likes

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.

2 Likes

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/ or 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.

2 Likes

Sorry I was late…thanks!

2 Likes

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