Add a favicon.ico file
PATCH 1/1 Add a favicon.ico file
Most browsers try to download a /favicon.ico file from the web servers which is then e.g. used in the browser tabs or bookmark lists. So let's add such a file for the QEMU website, too. The .ico has been created resizing the logo from http://wiki.qemu.org/Logo to 16x16 pixels.
---
If I've got the Jekyll magic right, it should be enough to create this file in the top of the repository, right? Or do we need to mark this in one of the configuration files, too?
favicon.ico | Bin 0 -> 1150 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 favicon.ico
favicon.ico new file binary +0 -0
Signature · 1 line
1.8.3.1
Quoted 10 lines · Thomas Huth
Most browsers try to download a /favicon.ico file from the web servers which is then e.g. used in the browser tabs or bookmark lists. So let's add such a file for the QEMU website, too. The .ico has been created resizing the logo from http://wiki.qemu.org/Logo to 16x16 pixels.
Signed-off-by Thomas Huth <[email protected]>---
If I've got the Jekyll magic right, it should be enough to create this file in the top of the repository, right? Or do we need to mark this in one of the configuration files, too?
The icon appears in the built site, but I don't see it if I test this locally with "jekyll serve".
It doesn't hurt really, so go ahead and push it. :)
Paolo
Quoted 27 lines
favicon.ico | Bin 0 -> 1150 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 favicon.icofavicon.ico new file binary +0
-0
Quoted 6 lines · Thomas Huth
Most browsers try to download a /favicon.ico file from the web servers which is then e.g. used in the browser tabs or bookmark lists. So let's add such a file for the QEMU website, too. The .ico has been created resizing the logo from http://wiki.qemu.org/Logo to 16x16 pixels.
Signed-off-by Thomas Huth <[email protected]>
FYI, just having a single 'favicon.ico' file isn't generally sufficient anymore. Thanks to explosion of mobile devices there are 20+ different files that various browsers / clients look for now :-(
https://realfavicongenerator.net/faq
That site thankfully has ability to generate you all the various required files + HTML snippet to make it work, if you just upload a large (260x260 px) image.
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 11 lines · Daniel P. Berrange
Quoted 6 lines · Thomas Huth
Most browsers try to download a /favicon.ico file from the web servers which is then e.g. used in the browser tabs or bookmark lists. So let's add such a file for the QEMU website, too. The .ico has been created resizing the logo from http://wiki.qemu.org/Logo to 16x16 pixels.
Signed-off-by Thomas Huth <[email protected]>FYI, just having a single 'favicon.ico' file isn't generally sufficient anymore. Thanks to explosion of mobile devices there are 20+ different files that various browsers / clients look for now :-(
Well, yeah, but most of that is just sick. Adding things like '<link rel="apple-touch-icon" .../>' to your web site is IMHO just how it should *not* be done.
If we're afraid that the 16x16 pixel icon is not enough, I think we should add an additional SVG icon, smile at the browsers that support it and wait for the others to catch up.
Thomas
Quoted 13 lines · Thomas Huth
Quoted 11 lines · Daniel P. Berrange
Quoted 6 lines · Thomas Huth
Most browsers try to download a /favicon.ico file from the web servers which is then e.g. used in the browser tabs or bookmark lists. So let's add such a file for the QEMU website, too. The .ico has been created resizing the logo from http://wiki.qemu.org/Logo to 16x16 pixels.
Signed-off-by Thomas Huth <[email protected]>FYI, just having a single 'favicon.ico' file isn't generally sufficient anymore. Thanks to explosion of mobile devices there are 20+ different files that various browsers / clients look for now :-(
Quoted 6 lines
Well, yeah, but most of that is just sick. Adding things like '<link rel="apple-touch-icon" .../>' to your web site is IMHO just how it should *not* be done.
If we're afraid that the 16x16 pixel icon is not enough, I think we should add an additional SVG icon, smile at the browsers that support it and wait for the others to catch up.
It has the advantage of working:
----------------- 8< -----------
Quoted 1 line
From
ba78908efd551c514a5156a3882316df76bee2e4Mon Sep 17 00:00:00 2001
From: Thomas Huth <[email protected]>
Date: Wed, 26 Jul 2017 15:27:30 +0200
Subject: [qemu-web PATCH 1/1] Add a favicon file
Most browsers try to download a /favicon.ico file or similar from the web servers which is then e.g. used in the browser tabs or bookmark lists. So let's add such a file for the QEMU website, too.
The files and HTML were created with realfavicongenerator.net.
Message-Id: <[email protected]>
--- _includes/assets.html | 9 +++ assets/favicons/android-chrome-192x192.png | Bin 0 -> 23519 bytes assets/favicons/android-chrome-512x512.png | Bin 0 -> 69749 bytes assets/favicons/apple-touch-icon.png | Bin 0 -> 15455 bytes assets/favicons/browserconfig.xml | 9 +++ assets/favicons/favicon-16x16.png | Bin 0 -> 1356 bytes assets/favicons/favicon-32x32.png | Bin 0 -> 2363 bytes assets/favicons/manifest.json | 18 +++++ assets/favicons/mstile-150x150.png | Bin 0 -> 13296 bytes assets/favicons/safari-pinned-tab.svg | 124 +++++++++++++++++++++++++++++ favicon.ico | Bin 0 -> 15086 bytes 11 files changed, 160 insertions(+) create mode 100644 assets/favicons/android-chrome-192x192.png create mode 100644 assets/favicons/android-chrome-512x512.png create mode 100644 assets/favicons/apple-touch-icon.png create mode 100644 assets/favicons/browserconfig.xml create mode 100644 assets/favicons/favicon-16x16.png create mode 100644 assets/favicons/favicon-32x32.png create mode 100644 assets/favicons/manifest.json create mode 100644 assets/favicons/mstile-150x150.png create mode 100644 assets/favicons/safari-pinned-tab.svg create mode 100644 favicon.ico
_includes/assets.html +9 -0
@@ -3,6 +3,15 @@ <meta name="keywords" content="" /> <meta name="viewport" content="width=device-width"> <link href='http://fonts.googleapis.com/css?family=Roboto+Mono:300,400%7cRoboto:300,400,500' rel='stylesheet' type='text/css'> + + <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicons/apple-touch-icon.png"> + <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicons/favicon-32x32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="/assets/favicons/favicon-16x16.png"> + <link rel="manifest" href="/assets/favicons/manifest.json"> + <link rel="mask-icon" href="/assets/favicons/safari-pinned-tab.svg" color="#5bbad5"> + <meta name="msapplication-config" content="/assets/favicons/browserconfig.xml"> + <meta name="theme-color" content="#ffffff"> + <link rel="stylesheet" href="/assets/css/normalize.css" /> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" /> <link rel="stylesheet" href="/assets/css/skel-noscript.css" />
assets/favicons/android-chrome-192x192.png new file binary +0 -0
assets/favicons/android-chrome-512x512.png new file binary +0 -0
assets/favicons/apple-touch-icon.png new file binary +0 -0
assets/favicons/browserconfig.xml new file +9 -0
@@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<browserconfig> + <msapplication> + <tile> + <square150x150logo src="/assets/favicons/mstile-150x150.png"/> + <TileColor>#da532c</TileColor> + </tile> + </msapplication> +</browserconfig>
assets/favicons/favicon-16x16.png new file binary +0 -0
assets/favicons/favicon-32x32.png new file binary +0 -0
assets/favicons/manifest.json new file +18 -0
@@ -0,0 +1,18 @@ +{ + "name": "", + "icons": [ + { + "src": "/assets/favicons/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/assets/favicons/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +}
assets/favicons/mstile-150x150.png new file binary +0 -0
assets/favicons/safari-pinned-tab.svg new file +124 -0
124 lines not on this page · raw message
favicon.ico new file binary +0 -0
Signature · 1 line
2.13.3
Quoted 13 lines · Thomas Huth
Quoted 11 lines · Daniel P. Berrange
Quoted 6 lines · Thomas Huth
Most browsers try to download a /favicon.ico file from the web servers which is then e.g. used in the browser tabs or bookmark lists. So let's add such a file for the QEMU website, too. The .ico has been created resizing the logo from http://wiki.qemu.org/Logo to 16x16 pixels.
Signed-off-by Thomas Huth <[email protected]>FYI, just having a single 'favicon.ico' file isn't generally sufficient anymore. Thanks to explosion of mobile devices there are 20+ different files that various browsers / clients look for now :-(
Quoted 6 lines
Well, yeah, but most of that is just sick. Adding things like '<link rel="apple-touch-icon" .../>' to your web site is IMHO just how it should *not* be done.
If we're afraid that the 16x16 pixel icon is not enough, I think we should add an additional SVG icon, smile at the browsers that support it and wait for the others to catch up.
I'd prefer we did something that actually works for web users today, rather than expecting every vendor will switch to using SVG, which I doubt is ever going to happen.
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 53 lines · Paolo Bonzini
Quoted 13 lines · Thomas Huth
Quoted 11 lines · Daniel P. Berrange
Quoted 6 lines · Thomas Huth
Most browsers try to download a /favicon.ico file from the web servers which is then e.g. used in the browser tabs or bookmark lists. So let's add such a file for the QEMU website, too. The .ico has been created resizing the logo from http://wiki.qemu.org/Logo to 16x16 pixels.
Signed-off-by Thomas Huth <[email protected]>FYI, just having a single 'favicon.ico' file isn't generally sufficient anymore. Thanks to explosion of mobile devices there are 20+ different files that various browsers / clients look for now :-(
Quoted 6 lines
Well, yeah, but most of that is just sick. Adding things like '<link rel="apple-touch-icon" .../>' to your web site is IMHO just how it should *not* be done.
If we're afraid that the 16x16 pixel icon is not enough, I think we should add an additional SVG icon, smile at the browsers that support it and wait for the others to catch up.It has the advantage of working:
----------------- 8< -----------
Fromba78908efd551c514a5156a3882316df76bee2e4Mon Sep 17 00:00:00 2001
From: Thomas Huth <[email protected]>
Date: Wed, 26 Jul 2017 15:27:30 +0200
Subject: [qemu-web PATCH 1/1] Add a favicon fileMost browsers try to download a /favicon.ico file or similar from the web servers which is then e.g. used in the browser tabs or bookmark lists. So let's add such a file for the QEMU website, too.
The files and HTML were created with realfavicongenerator.net.
Signed-off-by Thomas Huth <[email protected]>Message-Id: <[email protected]>
Signed-off-by Paolo Bonzini <[email protected]>--- _includes/assets.html | 9 +++ assets/favicons/android-chrome-192x192.png | Bin 0 -> 23519 bytes assets/favicons/android-chrome-512x512.png | Bin 0 -> 69749 bytes assets/favicons/apple-touch-icon.png | Bin 0 -> 15455 bytes assets/favicons/browserconfig.xml | 9 +++ assets/favicons/favicon-16x16.png | Bin 0 -> 1356 bytes assets/favicons/favicon-32x32.png | Bin 0 -> 2363 bytes assets/favicons/manifest.json | 18 +++++ assets/favicons/mstile-150x150.png | Bin 0 -> 13296 bytes assets/favicons/safari-pinned-tab.svg | 124 +++++++++++++++++++++++++++++ favicon.ico | Bin 0 -> 15086 bytes 11 files changed, 160 insertions(+) create mode 100644 assets/favicons/android-chrome-192x192.png create mode 100644 assets/favicons/android-chrome-512x512.png
Quoted 8 lines
create mode 100644 assets/favicons/apple-touch-icon.png create mode 100644 assets/favicons/browserconfig.xml create mode 100644 assets/favicons/favicon-16x16.png create mode 100644 assets/favicons/favicon-32x32.png create mode 100644 assets/favicons/manifest.json create mode 100644 assets/favicons/mstile-150x150.png create mode 100644 assets/favicons/safari-pinned-tab.svg create mode 100644 favicon.ico
If you're willing to maintain that "mess", sure, please go ahead! But please remove my SoB, I don't want to be responsible for all those files ;-)
Thomas
Quoted 2 lines · Thomas Huth
If you're willing to maintain that "mess", sure, please go ahead! But please remove my SoB, I don't want to be responsible for all those files ;-)
Changed it to suggested-by then, and pushed. :>
Please test!
Paolo
Quoted 8 lines · Paolo Bonzini
Quoted 2 lines · Thomas Huth
If you're willing to maintain that "mess", sure, please go ahead! But please remove my SoB, I don't want to be responsible for all those files ;-)
Changed it to suggested-by then, and pushed. :>
Please test!
I just tested in:
chrome
firefox
konqueror
internet explorer
edge
opera
Looks as expected in those, at least.
Quoted 7 lines · Paolo Bonzini
Quoted 2 lines · Thomas Huth
If you're willing to maintain that "mess", sure, please go ahead! But please remove my SoB, I don't want to be responsible for all those files ;-)
Changed it to suggested-by then, and pushed. :>
Please test!
Does anybody know how a favicon.ico is supposed to work with the MediaWiki? Looking at the HTML of the Main_Page, it also references such a file:
<link rel="shortcut icon" href="/favicon.ico" />
But when you try to access that file, you're redirected to the non-existing wiki page http://wiki.qemu.org/Favicon.ico ...
Thomas
Quoted 9 lines · Thomas Huth
Quoted 7 lines · Paolo Bonzini
Quoted 2 lines · Thomas Huth
If you're willing to maintain that "mess", sure, please go ahead! But please remove my SoB, I don't want to be responsible for all those files ;-)
Changed it to suggested-by then, and pushed. :>
Please test!
Quoted 8 lines
Does anybody know how a favicon.ico is supposed to work with the MediaWiki? Looking at the HTML of the
Main_Page, it also references such a file:<link rel="shortcut icon" href="/favicon.ico" />
But when you try to access that file, you're redirected to the non-existing wiki page http://wiki.qemu.org/Favicon.ico ...
On the libvirt mediawiki just creating a 'favicon.ico' file at the top level of the webroot works. ie same directory as contains your mediawiki LocalSettings.php
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 9 lines · Thomas Huth
Quoted 7 lines · Paolo Bonzini
Quoted 2 lines · Thomas Huth
If you're willing to maintain that "mess", sure, please go ahead! But please remove my SoB, I don't want to be responsible for all those files ;-)
Changed it to suggested-by then, and pushed. :>
Please test!
Quoted 8 lines
Does anybody know how a favicon.ico is supposed to work with the MediaWiki? Looking at the HTML of the
Main_Page, it also references such a file:<link rel="shortcut icon" href="/favicon.ico" />
But when you try to access that file, you're redirected to the non-existing wiki page http://wiki.qemu.org/Favicon.ico ...
That probably has to be fixed in httpd.conf.
Paolo