favicon

Unable to set favicon using Jekyll and github pages

我们两清 提交于 2019-11-29 20:34:37
I am trying to set a favicon.ico for my github page, but it doesn't work. When I serve it locally I see the standard "empty" favicon and when I push it I see the facebook icon. Why is it so? I have the right favicon.ico in the root directory of my project and I added the line <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"> to the relevant default.html . You can see the sources here: https://github.com/drorata/drorata.github.io Christopher Wells I cloned your project from GitHub to take a look at it. After serving it using Jekyll, the favicon did not display, as you noted. I

Converting GIF's, PNG's and JPG's to .ICO files using Imagemagick

≡放荡痞女 提交于 2019-11-29 19:35:23
From: JPG, To: ICO; /usr/bin/convert -resize x16 -gravity center -crop 16x16+0+0 input.jpg \ -transparent white -colors 256 output/favicon.ico This is the output for the command line. From: GIF's, PNG To: ICO; /usr/bin/convert -resize x16 -gravity center -crop 16x16+0+0 input.png \ -flatten -colors 256 output/favicon.ico I am having issues with transparency. I can't seem to get the right code for it, i have tried -channel alpha -negate, etc This creates an image and when i apply to the site, it works with Firefox but none of the other browsers. IE, Chrome, Opera and Safari all hate it for some

How do I put my website's logo to be the icon image in browser tabs?

时光毁灭记忆、已成空白 提交于 2019-11-29 18:50:19
The image next to the page title in the browser tab - how can you link an image here? That image is called ' favicon ' and it's a small square shaped .ico file, which is the standard file type for favicons. You could use .png or .gif too, but you should follow the standard for better compatibility. To set one for your website you should: Make a square image of your logo (preferably 32x32 or 16x16 pixels, as far as I know there's no max size*), and transform it into an .ico file. You can do this on Gimp, Photoshop (with help of a plugin ) or a website like Favicon.cc or RealFaviconGenerator .

How can I get a web site's favicon?

喜你入骨 提交于 2019-11-29 18:42:27
Simple enough question: I've create a small app that is basically just a favourites that sits in my system tray so that I can open often-used sites/folders/files from the same place. Getting the default icons from my system for known file types isn't terribly complicated, but I don't know how to get the favicon from a website. (SO has the grey->orange stack icon in the address bar for instance) Does anyone know how I might go about that? You'll want to tackle this a few ways: Look for the favicon.ico at the root of the domain www.domain.com/favicon.ico Look for a <link> tag with the rel=

How to set Favicon in Codeigniter

大城市里の小女人 提交于 2019-11-29 16:39:49
问题 I know this is a stupid question, but I can't find the answer anywhere. If I'm using Codeigniter, where do I save my favicon file so that it will pop up in the browser? Or is there a config option in the files that I haven't been able to find yet? This is driving me crazy! Thanks a lot for the help. 回答1: It depends on your organization. I usually put the favicon.gif file in the web root folder, so the URL would be yourdomain.com/favicon.gif Then you have to add the following line of code into

Favicon format GIF or ICO?

烂漫一生 提交于 2019-11-29 16:14:25
问题 Why use a GIF favicon? Is that for iPhone and iPad can read it? <link rel="icon" href="/favicon.gif"> 回答1: Browsers started supporting it. Also, ICO files are an old image file format for icons in Microsoft Windows. Since ICO is vendor specific, some choose to go with GIF. Not to mention that there is an abundance of .gif editors, and few ICO editors. After reviewing supported formats, your best bet is to go with PNG files if you are trying to get away from ICO. 回答2: A GIF can be animated

如何安装Favicon

我与影子孤独终老i 提交于 2019-11-29 15:58:17
如何安装Favicon favicon.ico图像放在根目录下(也可以是其他目录) 在页面源文件的<head></head>标签之间插入 < link rel ="shortcut icon" href =" /favicon.ico" /> 最后形成: < head > ... < link rel ="shortcut icon" href ="/favicon.ico" /> </ head > 转载于:https://my.oschina.net/u/1590001/blog/268188 来源: https://blog.csdn.net/cheshifei3571/article/details/100849064

Display favicon for PDF files

六眼飞鱼酱① 提交于 2019-11-29 13:46:52
I am working on a Drupal site with some PDF files where I am opening a PDF file in a new window. The files are getting opened in the browser with the Acrobat Reader plugin but the favicon is not getting displayed. What should be done to show the favicon? Pekka 웃 If you show the PDF file in an iframe , the browser should show the site-wide favicon, but you're out of luck in an external applications. Acrobat Reader doesn't use Favicons. UPDATE This is now possible by placing favicon.ico in the root directory of your website as per @s1m0n1stv4n answer below s1m0n1stv4n If you put a favicon.ico to

favicon won't show up in chrome but show up in other browsers like IE, Firefox

我与影子孤独终老i 提交于 2019-11-29 10:38:00
I have the html: <link rel="shortcut icon" href="/images/favicon_muse_me.ico"> on my website Muse Me ( http://www.musememobile.com ) The favicon won't show up if I open it with Chrome. It shows up in other Browsers. The favicon showed up before in Chrome but then I changed it. What should I do to make it show up in Chrome? Add the ICO file to the root directory as 'favicon.ico'. Some browsers disregard the favicon metatag, and just look for /favicon.ico. Chrome does not support animated favicons, and it doesn't look like anyone is interested in implementing it. Original bug report: http://code

Is there a way to render SVG favicons in unsupported browsers?

前提是你 提交于 2019-11-29 10:29:23
问题 As of right now, the only browser that seems to support them is Firefox. Apparently Opera used to support it but later dropped it. Perhaps a JavaScript shim? 回答1: I don't know of any shims. Unfortunately, I don't think there are any that would work, since a favicon is displayed in the browser user interface rather than on the website itself. However, I do believe the browser support situation is finally starting to improve. As of now, an SVG icon in Firefox only loads on the first page load,