[mythtv-users] favicon.ico request for mythweb
Michael T. Dean
mtdean at thirdcontact.com
Sat Mar 11 18:40:02 UTC 2006
On 03/11/2006 04:25 AM, Myth User wrote:
> save this to your mythweb folder
I'll create a ticket (and include some of the below info).
MythWeb should also be updated to include appropriate <link> elements in
the document head. Otherwise, for Firefox, the favicon.ico would have
to be in the server's root directory. By using <link>, the icon can be
placed in the MythWeb directory (allowing a different icon for the
"rest" of the server directories and making reliable installation much
easier--it would work regardless of how the user configures MythWeb).
Both of the following <link> elements should be included in the head
(with the appropriate location--possibly in the MythWeb directory).
<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" />
IE requires the icon to be in Microsoft's icon format (GIMP can save as
an ICO). Firefox allows any of it's known image file formats (ICO, GIF,
PNG, JPG). Also, the .htaccess should be updated with the appropriate
MIME mappings in case the user's server configuration does not include
ICO (or in case the user's server configuration uses the IANA-registered
MIME type of "image/vnd.microsoft.icon"--which some browsers don't
recognize).
ICO can be 16x16, 32x32, 64x64, 128x128 and either 4, 8, or 24bpp.
GIF should be 16x16 in 8bpp
PNG should be 16x16 in 8 or 24bpp.
Mike
||
More information about the mythtv-users
mailing list