CircaCitadel Posted July 29, 2021 Share Posted July 29, 2021 I have uploaded a favicon and application icon, which are slightly different images. When I have an application icon uploaded, all browsers use that as the favicon instead of the actual favicon. If I remove it, the favicon will work perfectly fine. Why is that? The normal one will show in the AdminCP but not the forum itself, like below. I want to use both but not if it doesn't work properly. Link to comment Share on other sites More sharing options...
Gabriel Torres Posted July 29, 2021 Share Posted July 29, 2021 @CircaCitadel Have you tried clearing the brower's cache? It is probably loading the old version from its cache. Also, try loading the website on another computer to see what happens. If you use CDN (CloudFlare), also try purging its cache. Link to comment Share on other sites More sharing options...
CircaCitadel Posted July 29, 2021 Author Share Posted July 29, 2021 5 hours ago, Gabriel Torres said: @CircaCitadel Have you tried clearing the brower's cache? It is probably loading the old version from its cache. Also, try loading the website on another computer to see what happens. If you use CDN (CloudFlare), also try purging its cache. Yep, tried all of those. They were images I uploaded at the same time, so it was replacing the old one just fine. It just seems to be prioritizing the application icon over the favicon. Gabriel Torres 1 Link to comment Share on other sites More sharing options...
opentype Posted August 31, 2021 Share Posted August 31, 2021 (edited) Did you got that resolved eventually? I am currently investigating this myself. I feel like it’s the browsers which choose to go with the link rel="icon" generated from the application icon rather than the Favicon, even if the latter defined in the code and placed in the root directory. Edited September 1, 2021 by opentype Sonya* 1 Link to comment Share on other sites More sharing options...
Management Matt Posted September 1, 2021 Management Share Posted September 1, 2021 I think browsers look at all the possible images and pick the one they want to use. Link to comment Share on other sites More sharing options...
opentype Posted September 1, 2021 Share Posted September 1, 2021 (edited) Sure, but even then it’s also connected to IPS’ implementation. I upload an “application icon”, which is fine for this very purpose, but this is also downscaled and suggested as generic image. But that image might not work at all at tiny sizes. At least in this case, it would be necessary to force a dedicated small image. And in fact, that’s what happening for the ACP where you don’t output the full line of images. In other words: the problem is that the application icon is not just suggested as application icon in the generated code. If I remove the application icon, I get the desired result for the favicons, but then I do not have an application icon for when the website is saved to the homescreen. Edited September 1, 2021 by opentype Sonya*, SeNioR- and Davyc 2 1 Link to comment Share on other sites More sharing options...
Recommended Posts