• After setting up my favicons, I've noticed some odd favicon behavior. Most notably, it appears to auto-downscale a favicon to hideous levels on the forums, but not the ACP.

    Left is the forum, right is the ACP. See the lack of AA on the left?

    I used a favicon generator to get all the various hordes of favicons required these days, specifically this one:

    And used its generated favicon code in the header. I then tried setting the favicon manually from the ACP to see if that'd fix it. I even tried manually reseting the favicon file, but nothing.

    The weird thing is <url>/favicon.ico looks totally fine and has AA, so somewhere in the forum software its redirecting the fine favicon to a hideous favicon. Also odd is that while the site loads, its flickers between the fine favicon and the terrible one before settling on the terrible one.

    Any advice?

    Edit 1:

    This appears to be the offending tag:

    <link type="image/x-icon" rel="icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACUklEQVQ4T5WSS2gTURSG/zuTR9UkbQVfqRAqxNgUkTy0IoLdidGNCxFR00x05cJVcWEVu6jLLnwsBElHqgXRhVA0uhCMLhQhSRtKk7RNDcGm2qCYRwvmMXNlJs00KcnC2QznP//57rnnHoImH2ebtRKGjFPgoJQmwAwVqZuf6o1utpN6wX1orotVCUvNoDVNqLB7xyOWdC1WAF7n7ClKib+WEAUKhq3nEzCEBUBBUXGNBXvfrncHDPd/UKUKu8qSQEXgYWA/thlYeB0xEMLg3TyH5cIXpTFCWNw5UVEPB0hFPoJzRAsAdMZuLUZe7lOMVw/Pwxe0NL2RUX9sdbnwWV8D0M6dKoz6zYr5T6aMQdc3jIUOyNqAPQKWaJFZm8Lr+AUYtCbkiylCLvYtGNSlco4P9yjFQ+cWkU4U5RnwIausc47qA3zPBvB+8Rpclqfo7DjaTry2uPH4WUOau71HNnidsYaWJ6b7UBIK8DrjSPyexKfkDQVIRKaLAJQUsoKoa5cmvAHYbdLgZ6oE/9wlrKyGwRINBFpa98RBqQg+1MPIM1jLV+hWfRUw+fgXTl7eDo2GwZUjMQSXRjGz4pNzKmYL3PZpUCrIMR+yEhnw/F5m5Pz1HUObx+2xRZHMvUHkxyOctjyDVtWxYaG4y4ett5RNGTyzINz0mRiNlsGL+xl8fJUFwzR9QUkU+ZBVbrlhlTlHVLqkumVZNVHmQ1ZNzdMAkIdoj3kooXwriC6nbnuQMBdbAuoLpR2R4omv5rz05xxR+l+AZl14+pNtTwLdf2u5fyDT1BG9aZImAAAAAElFTkSuQmCC">

    So it appears nodebb takes the pre-made favicon and caches it in this form to display. Why? Can this be disabled?

  • Okay, so I fixed it.

    Put the tags in the header as usual, then upload the smallest (16x16 as ico) to the general section. This will be the one that nodebb overrides the others with.

    The others will still work for other systems like android and such.

Suggested Topics

| |