# Digest 徽标无法工作

**URL:** https://meta.discourse.org/t/digest-logo-not-working/103255
**Category:** Bug
**Tags:** activity-summary
**Created:** [2018年十二月1日 17:07 UTC](https://meta.discourse.org/t/digest-logo-not-working/103255 "2018-12-01T17:07:09Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)
#### Post date: [2018年十二月1日 17:07 UTC](https://meta.discourse.org/t/digest-logo-not-working/103255/1 "2018-12-01T17:07:09Z")

</div>

Since the change to having logos as uploads rather than links, my digest logo has stopped working. Yes, I have uploaded a new logo:

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/1/41615ed9a639058b3e30a1ddf104671c21c715ea.png)

But this is the digest:

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/d/edf6ed36a98f99657582b570a94a585d00bba16a.png)

This is the URL for the image:

`https://ci4.googleusercontent.com/proxy/pj0QhGINR6LmV6slyHT0mQ6rcILIxXC3kekgB-DeNGTNDXh4FCQtm8hk-nysl0JhuBoGEZUAiiljA6eS7icAp4LOG6galFaDjJ1BqOnTbOzHqxHCRjN_Vg2dbu8RTWL1buTBra7SFGqQJD_-lper0LAgCrPk--1rc4v9vjOHbsrorT_uCqxGADYz0Rv2JXqBaY00nCwFRLibiDEdea21jd7YVigHEJXpAYFSmXvbe2dk7Kgbyu-BOKQ0oQAR=s0-d-e1-ft#https://community.naturephotographers.network//nature-photographers-network.s3.dualstack.us-west-1.amazonaws.com/original/1X/392476f143ac7f4a55f1ecd60612fea96e0f1f37.png`

---

<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: [2018年十二月1日 23:27 UTC](https://meta.discourse.org/t/digest-logo-not-working/103255/2 "2018-12-01T23:27:36Z")

</div>

Hmm we should check this @tgxworld

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2018年十二月4日 02:48 UTC](https://meta.discourse.org/t/digest-logo-not-working/103255/4 "2018-12-04T02:48:12Z")

</div>

@davidkingham What does the following give you?

```plaintext
./launcher enter
rails c
SiteSetting.site_digest_logo_url(warn: false)
SiteSetting.digest_logo

```

The url seems weird `https://community.naturephotographers.network//nature-photographers-network.s3.dualstack.us-west-1.amazonaws.com/original/1X/392476f143ac7f4a55f1ecd60612fea96e0f1f37.png`

---

<div class="post-metadata">

### Author: ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)
#### Post date: [2018年十二月4日 14:57 UTC](https://meta.discourse.org/t/digest-logo-not-working/103255/5 "2018-12-04T14:57:37Z")

</div>

> [@tgxworld](#):
>
> SiteSetting.site\_digest\_logo\_url(warn: false) SiteSetting.digest\_logo

```ruby
=> #<Upload:0x000055e389528790
 id: 776,
 user_id: 1,
 original_filename: "392476f143ac7f4a55f1ecd60612fea96e0f1f37.png",
 filesize: 6712,
 width: 800,
 height: 136,
 url:
  "//nature-photographers-network.s3.dualstack.us-west-1.amazonaws.com/original/1X/392476f143ac7f4a55f1ecd60612fea96e0f1f37.png",
 created_at: Mon, 10 Sep 2018 14:58:37 UTC +00:00,
 updated_at: Mon, 10 Sep 2018 14:58:37 UTC +00:00,
 sha1: "392476f143ac7f4a55f1ecd60612fea96e0f1f37",
 origin: nil,
 retain_hours: nil,
 extension: "png",
 thumbnail_width: 690,
 thumbnail_height: 117>

```

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2018年十二月6日 01:40 UTC](https://meta.discourse.org/t/digest-logo-not-working/103255/6 "2018-12-06T01:40:50Z")

</div>

Thanks for reporting @davidkingham. I’ve confirmed that this was indeed a bug and fixed it in

[https://github.com/discourse/discourse/commit/27c793a192ea0443373dc65517b50dfa21480441](https://github.com/discourse/discourse/commit/27c793a192ea0443373dc65517b50dfa21480441)

This part of the code was also untested territory so I’ve added tests as well.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2018年十二月8日 10:00 UTC](https://meta.discourse.org/t/digest-logo-not-working/103255/7 "2018-12-08T10:00:34Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
