Favicon .ico vs hosting

0

Is there any way I can host a .ico file without being on the 'server' of the application, say how do we normally upload a .jpg / .png image to sites like Imgur ?

In most of my research before doing this question, google confused ico with other terms and therefore the results were not what I expected, but what I found so far was:

Is there a free service where I can host a favicon (.ico) file? (All options quoted are broken)

Using .ico in img tag

Favicon: how to create and host .ico images (Again unrelated)

Among other means (like the front-end community) who also did not know to inform me a (Good) option ...

    
asked by anonymous 08.07.2017 / 03:03

1 answer

1

First I'll tell you a service, but the reason for the answer is to explain something about favicons that might be useful to you.

"Hosting" (Host) favicons

Finding this link , in addition to "hosting" it also converts your image to icone.

Icons and Images as favicon

Old browsers used to use only .ico , this when supported, because there were browsers that could not support, so the preference was always to use this format, however most modern browsers as you can see in the list support png: link

Inotherwords,.icoisnolongertheonlyoption,youcanhostdifferentwebsitesorusedifferentdomainstostore.pngimagesandpointthemtoyoursite:

>
<linkrel="icon" type="image/png" href="http://3rd.site.com/img/favicon.png">
Safari and the favicons

You may have noticed that favicons are not available in Safari for iOS, not even the .ico format, however Safari has a link tag for icones when you save to favorites or to "Home" and is compatible with many versions of Android, are the tags:

  • <link rel="apple-touch-icon" href="icone-grande.png"> when adding to favorites or adding to Home (next to applications)

  • <link rel="apple-touch-icon-precomposed" href="icone-grande.png"> o -precomposed causes the icon does not get the effect of "gloss" icon.

Images should be PNG as per the documentation in>>, these icons look similar to this (example using the Youtube site) in Home (left) and at the time of adding favorites or the "reading list" (right):

  

Note:ActuallyIthinkitdoesrecognize<linkrel="icon"> , although caniuse say no, but the image is "ugly", however it works least where I tested) if you do not have apple-touch-icon defined.

    
08.07.2017 / 03:34