# SVG Logo Upload Support?

**URL:** https://meta.discourse.org/t/svg-logo-upload-support/56006
**Category:** UX
**Created:** [January 19, 2017, 5:45am UTC](https://meta.discourse.org/t/svg-logo-upload-support/56006 "2017-01-19T05:45:08Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Blackglade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blackglade/32/66445_2.png) [@Blackglade](https://meta.discourse.org/u/Blackglade)
#### Post date: [January 19, 2017, 5:45am UTC](https://meta.discourse.org/t/svg-logo-upload-support/56006/1 "2017-01-19T05:45:08Z")

</div>

Hi, So upon running the wizard, instead of using a normal jpeg/png for the logo, I tried to upload an SVG file in place (for primary and compact logo versions) and it didn’t work. Is there anyway there could potentially be support for SVG Logos? It would work perfectly with all screen sizes (as it scales effortlessly) and is extremely compact (my JPEG takes 15kb while my SVG takes 1kb)

---

<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: [January 19, 2017, 5:47am UTC](https://meta.discourse.org/t/svg-logo-upload-support/56006/2 "2017-01-19T05:47:50Z")

</div>

The problem is email. Email clients do not like svg.

---

<div class="post-metadata">

### Author: ![Blackglade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blackglade/32/66445_2.png) [@Blackglade](https://meta.discourse.org/u/Blackglade)
#### Post date: [January 19, 2017, 5:52am UTC](https://meta.discourse.org/t/svg-logo-upload-support/56006/3 "2017-01-19T05:52:06Z")

</div>

Ahh okay! That makes sense!

---

<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: [January 19, 2017, 5:53am UTC](https://meta.discourse.org/t/svg-logo-upload-support/56006/4 "2017-01-19T05:53:30Z")

</div>

Also if it is a jpeg i suspect it should not be, otherwise it would not translate to SVG well. Have you tried png? Can you post it here?

---

<div class="post-metadata">

### Author: ![Blackglade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blackglade/32/66445_2.png) [@Blackglade](https://meta.discourse.org/u/Blackglade)
#### Post date: [January 19, 2017, 6:04am UTC](https://meta.discourse.org/t/svg-logo-upload-support/56006/5 "2017-01-19T06:04:27Z")

</div>

Yeah, I just ended up realizing that using PNG with a transparent background is actually much more compressible than using JPEG with a white background…

 ![](https://global.discourse-cdn.com/meta/original/3X/7/3/73eed78312b71d16f70fd8ed145e5e3e4603e2db.png)

the primary logo is the main annoyance since the added text doesn’t bode well for JPEG Compression, but oh well!

---

<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: [January 20, 2017, 9:17pm UTC](https://meta.discourse.org/t/svg-logo-upload-support/56006/6 "2017-01-20T21:17:53Z")

</div>

Convert to 8-bit PNG w/alpha (you don’t need more than 256 colors for this) then zopfli:

```
C:\Users\Jeff\Desktop>zopflipng Untitled.png Untitled.png
Optimizing Untitled.png
Filter strategy zero: 6459 bytes
Result is smaller
Input size: 10100 (9K)
Result size: 6459 (6K). Percentage of original: 63.950%

```

Gets it down to 6,459 bytes.

---

<div class="post-metadata">

### Author: ![Amethi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amethi/32/88690_2.png) [@Amethi](https://meta.discourse.org/u/Amethi)
#### Post date: [September 27, 2021, 7:44am UTC](https://meta.discourse.org/t/svg-logo-upload-support/56006/7 "2021-09-27T07:44:29Z")

</div>

Could we possibly get two logo options in the branding section please? An email logo for conventional images, and SVG support for the on-site logo? I’m really struggling with a logo change we’re going through - Chrome does not downsize PNGs well at all. No CSS suggestions I’ve found work, and we want to retain high-DPI support.

Blurry logo on standard-DPI screens in Chrome:

 ![active](https://global.discourse-cdn.com/meta/original/3X/4/0/4069920b5b4d9a989206dfc15af94dfcea71333d.png)

I feel that SVG is pretty much an established standard for logos nowadays. It would be great to see SVG support brought to Discourse where possible.

Open to any other suggestions for solutions though?

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [September 27, 2021, 5:16pm UTC](https://meta.discourse.org/t/svg-logo-upload-support/56006/8 "2021-09-27T17:16:02Z")

</div>

SVG files should be usable for site logos now, the logo here on Meta is an SVG for example. There’s a separate `digest logo` setting that you can upload a different filetype for.

---

<div class="post-metadata">

### Author: ![Amethi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amethi/32/88690_2.png) [@Amethi](https://meta.discourse.org/u/Amethi)
#### Post date: [September 28, 2021, 7:53am UTC](https://meta.discourse.org/t/svg-logo-upload-support/56006/9 "2021-09-28T07:53:13Z")

</div>

Ah, how embarrassing. It seems to be a problem with my SVG. I tried another and it worked. Thank you for that 🙂
