24 ms·
Surprised all icons is only: <!-- Icon in the highest resolution we need it for --> <link rel="icon" sizes="192x192" href="/path/to/icon.png"> <!-- Apple Touc
by nodesocket 7y ago
Surprised all icons is only:
<!-- Icon in the highest resolution we need it for -->
<link rel="icon" sizes="192x192" href="/path/to/icon.png">
<!-- Apple Touch Icon (reuse 192px icon.png) -->
<link rel="apple-touch-icon" href="/path/to/apple-touch-icon.png">
I thought there was literally like a dozen different sizes and names to support all different Apple and Android devices.
- why-oh-why 7y agoYou don’t even need those. Safari will automatically look for a file on the root and so does Android. Still, I know what you’re talking about and it’s awful how many “gurus” suggest all that noise.
- myfonj 7y agoYes. See this comprehensive resource [0] or sieve trough those linked at the Head project [1] - there are still bunch of tags (especially if you cannot place images into the root path) and myriad of images with varying degree of importance. Even now most resources apparently slightly disagrees with each other. [0] https://realfavicongenerator.net/faq https://realfavicongenerator.net/faq [1] https://htmlhead.dev/#icons https://htmlhead.dev/#icons