[mythtv-commits] Ticket #1491: Include favicon.ico for MythWeb

MythTV mythtv at cvs.mythtv.org
Sat Mar 11 18:51:42 UTC 2006

#1491: Include favicon.ico for MythWeb
 Reporter:  sphery <mtdean at thirdcontact.com>  |       Owner:  xris
     Type:  task                              |      Status:  new 
 Priority:  minor                             |   Milestone:      
Component:  mythweb                           |     Version:      
 Severity:  medium                            |  
 Making this ticket at xris's request per the thread http://www.gossamer-
 threads.com/lists/mythtv/users/189457#189457 .

 To make the favicon.ico work reliably with varying server configurations
 (MythWeb at the server root or MythWeb in a directory) and with varying
 clients (IE, Firefox, ...), we should:

  * Include <link> elements in the <head> of each page directing the
 browser to the appropriate icon image, allowing it to be somewhere besides
 the server root (no link squatting).
  * Use Microsoft's icon format (ICO).  Firefox allows any image type, but
 IE only uses ICO.  GIMP can save as an ICO.
  * Include an AddType in the .htaccess to specify the MIME type
 (image/x-icon) in case the server configuration doesn't define it or in
 case the server configuration defines the IANA-approved MIME type
 (image/vnd.microsoft.icon), which some browsers won't recognize.

 The icon should be 16x16, 32x32, 64x64, 128x128 and either 4, 8, or 24bpp
 (assuming we use the ICO format).  GIF must be 16x16 at 8bpp and PNG must be
 16x16 at 8 or 24bpp.

 Example link elements are shown below (both are required to support
 varying clients):

 <link rel="icon" href="http://example.com/favicon.ico"
 type="image/x-icon" />
 <link rel="shortcut icon" href="http://example.com/favicon.ico"
 type="image/x-icon" />

Ticket URL: <http://svn.mythtv.org/trac/ticket/1491>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list