Opened 6 years ago
Closed 6 years ago
#18165 closed enhancement (fixed)
provide higher resolution favicon
Reported by: | Klumbumbus | Owned by: | stoecker |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Trac | Version: | |
Keywords: | favicon html5 | Cc: |
Description
It would be nice if the JOSM website would be presented on firefox's top sites section on the new tab page with a big icon too instead of a website screenshot. A possible solution seems to be to (additional?) provide a favicon with a higher resolution. The current favicon is https://josm.openstreetmap.de/favicon.ico which is 48x48px. References:
Attachments (1)
Change History (7)
by , 6 years ago
Attachment: | firefoxtopsites.PNG added |
---|
comment:1 by , 6 years ago
Keywords: | favicon added |
---|
comment:2 by , 6 years ago
I disabled that bunch as it was the only part on our page which failed the HTML validation.
Also I don't like the idea of providing a different icon for each software (especially when on software needs more than one icon!). That's broken by design. And if additionally it violates HTML that's a reason more to not use it
Did someone try to simply to put the additional sizes into /favicon.ico? The Ico format can contain multiple sizes. It already contains 16x16, 32x32 and 48x48.
comment:3 by , 6 years ago
P.S. Before disabling I checked and the download count of the additional files was less than minimal:
- wastes transmission bandwidth
- violates HTML
- software specific
- not used by website clients
follow-up: 5 comment:4 by , 6 years ago
Keywords: | html5 added |
---|
Using multiple link elements with the sizes attribute is the standard way of doing it starting from HTML5:
https://www.w3.org/TR/html50/links.html#attr-link-sizes
https://www.w3.org/TR/html52/document-metadata.html#the-link-element
We currently output XHTML 1.0, we should rather output HTML5 instead of make a giant favicon.ico which would become a JOSM-specific way of doing something that has been standardized by W3C.
comment:5 by , 6 years ago
Replying to Don-vip:
Using multiple link elements with the sizes attribute is the standard way of doing it starting from HTML5:
https://www.w3.org/TR/html50/links.html#attr-link-sizes
https://www.w3.org/TR/html52/document-metadata.html#the-link-element
We currently output XHTML 1.0, we should rather output HTML5 instead of make a giant favicon.ico which would become a JOSM-specific way of doing something that has been standardized by W3C.
I consider reworking trac to use HTML5 instead of XHTML a bit much only to support a website icon. Using favicon.ico is no JOSM specific way, but a standard existing for multiple decades. HTML many times redefined the way to replace favicon.ico not making the situation better. I now extended favicon.ico to support 248 and 192 pixel width and that together with the other 3 makes a 120kb icon. I wouldn't call that giant.
I added large favicons long ago, I'm surprised to see this in our HTML:
Dirk, why did you disable them? HTML makes it pretty clear user agents have to deal with multiple icons: