Page 1 of 1

favicon.ico

Posted: Mon Mar 12, 2018 11:40 pm
by segaura
Another very minor "issue"... :roll:

for those interested

meterN tarball include a HUGE favicon.ico file that also does not match any dimensional standard (190x190?), to my knowledge

Code: Select all

-rw-r--r--  1 pi pi 104970 Dec  3 09:23 favicon.ico
that file can be better substituted, for example, reusing the three existing house images

so in globalheader.php

Code: Select all

<link href="favicon.ico" rel="icon" type="image/x-icon">
become

Code: Select all

<link rel="icon" type="image/png" href="images/house48.png" sizes="48x48">
<link rel="icon" type="image/png" href="images/house72.png" sizes="72x72">
<link rel="icon" type="image/png" href="images/house96.png" sizes="96x96">
(that exploit the new html "sizes" attribute)

Best practice suggest to include 16x16 and 32x32, also.

Code: Select all

https://graphicdesign.stackexchange.com/questions/26946/favicon-best-practices-regarding-size-and-format

Re: favicon.ico

Posted: Tue Mar 13, 2018 9:42 am
by jeanmarc
indeed :lol: I have to change that :oops:
Thanks