favicon

Does a favicon have to be 32x32 or 16x16?

元气小坏坏 提交于 2019-11-27 16:33:01
I'd like to use a single image as both a regular favicon and iPhone/iPad friendly favicon. Is this possible? Would an iPad-friendly 72x72 PNG scale if linked to as a regular browser favicon? Or do I have to use a separate 16x16 or 32x32 image? philippe_b For IE, Microsoft recommends 16x16, 32x32 and 48x48 packed in the favicon.ico file . For iOS, Apple recommends specific file names and resolutions , at most 180x180 for latest devices running iOS 8. Android Chrome primarily uses a manifest and also relies on the Apple touch icon. IE 10 on Windows 8.0 requires PNG pictures and a background

Favicon not showing up in address bar in IE9 - yet is displayed there in all other browsers

别说谁变了你拦得住时间么 提交于 2019-11-27 14:42:45
问题 This one is really odd - and I've tried everything I can think of. I have no issues with this in Firefox, Chrome or Opera. And when I change the icon on the server, it is updated immediately on the other browsers, but still doesn't show up in IE9. Incidentally, the image is displayed in my "favorites" list when I add it to favorites in IE9 - it just won't show up in the URL address bar. I've also verified that the ico file works for another website. I've also faithfully cleared the IE browser

Is there a Python library for generating .ico files?

若如初见. 提交于 2019-11-27 14:34:53
问题 I'm looking to create favicon.ico files programatically from Python, but PIL only has support for reading ico files. 回答1: According to Wikipedia modern browsers can handle favicons in PNG format, so maybe you could just generate that? Alternatively the ICO article describes the format... 回答2: You can use Pillow: from PIL import Image filename = r'logo.png' img = Image.open(filename) img.save('logo.ico') Optionally, you may specify the icon sizes you want: icon_sizes = [(16,16), (32, 32), (48,

How to load a favicon with Meteor

拟墨画扇 提交于 2019-11-27 13:42:58
问题 I'm trying to figure out how to add a favicon to my meteor app. Per the docs I should put it in the /public directory, but there isn't really much more info than that. I put my favicon.ico file there and referenced it in the header of my html file, but the browser doesn't load it. If I open up the dev tools on chrome though, it shows the file loading (i.e., go to localhost:3000/favicon.ico ). Anyone have any suggestions on what I might be missing? 回答1: It should work. Probably either an issue

using favicon with css

可紊 提交于 2019-11-27 12:44:29
问题 I want to set the favicon for a fairly large number of pages. But, instead of using the HTML <head> tag <link rel="shortcut icon" href="favicon.ico"> , I'd like to set it in the CSS file. I have limited access to some of the html files, and limited control to their life cycle. 回答1: You can't set a favicon from CSS - if you want to do this explicitly you have to do it in the markup as you described. Most browsers will, however, look for a favicon.ico file on the root of the web site - so if

How to clear IE's favicon cache?

坚强是说给别人听的谎言 提交于 2019-11-27 12:40:48
i have a favorite icon defined for my web-site: <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> Any browser that has visted the site after i added the icon can display the favicon fine. But my own browser refuses to show the icon. i've tried every variation of the link i can think of: <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> <link rel="shortcut icon" type="image/x-icon" href="http://example.com/favicon.ico"> <link rel="icon" type="image/x-icon" href="favicon.ico"> <link rel="icon" type="image/x-icon" href="http://example.com/favicon.ico"> <link rel=

HTML Title Image

半腔热情 提交于 2019-11-27 12:33:51
I want to have an image on the title in an HTML page (i.e on the tab along with the title). How can I do that? What you need is a favicon.ico file. Just put it in the root of your site and link to it in the header of your page <head> <title>My Site</title> <link rel="shortcut icon" href="favicon.ico" /> </head> You should put it in the root of your site and name it favicon.ico because some browsers look for it even if you don't link to it on your pages. Zuul For cross browser compatibility, seems to be needed two lines for for favicon: TITLE <title>PAGE TITLE HERE</title> FAVICON <link rel=

Which versions of IE support PNG favicons?

时光总嘲笑我的痴心妄想 提交于 2019-11-27 12:19:33
In this old StackOverflow post , it was said that only IE6 had issues with PNG favicons, but on channel9 , it said that IE7 also does not support PNG favicons either. But, unfortunately, the channel9 link has been deleted - so does anyone know the official/tested information that states which version of IE started to support PNG favicons? lifetimes The short answer: IE11 is the first version of Internet Explorer to support the direct usage of .png and .gif file format favicons. Why the confusion? As you mentioned, some seem to have implied that .png favicons are supported in IE7+ , while

How to get high resolution website logo (favicon) for a given URL

妖精的绣舞 提交于 2019-11-27 11:46:49
问题 I'm developing a web browser on Android and want to show the URL logo for the most visited sites like in Chrome (4 X 2). But the problem is that most favicons (eg: http://www.bbc.co.uk/favicon.ico) are of size either 16X16 or 32X32 and they don't look good when scaled up. Is there a way I can download a high resolution icon/bitmap for an URL in a standard way? How about opening the home page and then extracting all the image links and then choose an image with the name logo in it? Would this

How to set-up a favicon?

試著忘記壹切 提交于 2019-11-27 11:46:08
I am trying to do a very simple preliminary exercise to setting up a website which is creating a favicon. This is the code I am using: <!DOCTYPE html > <html lang="en-US"> <head profile="http://www.w3.org/2005/10/profile"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> </head> </html> But it is not working - can anyone please assist? I've saved the file favicon.ico on the same level as my html file (on a subdirectory). Many thanks With the introduction of (i|android|windows)phones, things have changed, and to get a correct and complete solution that works on any device is