Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9

Thread: "favicons"

  1. #1
    Regular Coder
    Join Date
    Sep 2009
    Posts
    167
    Thanks
    15
    Thanked 1 Time in 1 Post

    "favicons"

    Hello,

    I was wondering what you do to create a favicon, i.e.

    1) what software is typically used to create one
    2) what file format extension does it get saved in
    3) what pixel size does it typically get saved as
    3) where does it get uploaded in the website server file directory

    etc.


    Thanks for any ideas.

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts

  • #3
    New to the CF scene
    Join Date
    Apr 2010
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    1) what software is typically used to create one - Anything that can output an image in the .ico image format.
    2) what file format extension does it get saved in - .ico - The file should be named 'favicon.ico'.
    3) what pixel size does it typically get saved as - 16x16
    3) where does it get uploaded in the website server file directory - Usually to the domain's root folder.

    And place the code below into the header of your HTML document:-

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

  • #4
    Regular Coder
    Join Date
    Sep 2009
    Posts
    167
    Thanks
    15
    Thanked 1 Time in 1 Post
    thanks,

    I got the hang of it now.

  • #5
    Senior Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    3,471
    Thanks
    13
    Thanked 361 Times in 357 Posts
    Quote Originally Posted by Zethix View Post
    1) what software is typically used to create one - Anything that can output an image in the .ico image format.
    in fact, any graphics file format will do (gif, jpeg, png, mng*, tiff, svg*)

    * – if your browser supports that
    The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.
    André Behrens, NY Times Software Developer

  • #6
    New Coder
    Join Date
    Nov 2009
    Location
    Phoenix
    Posts
    17
    Thanks
    1
    Thanked 1 Time in 1 Post
    Actually, any image you create should be converted to an ICO format for compatibility with all browsers. Most image editors do not convert files to that format, but there are a couple of free image editors mentioned in this article that I have used.

    Creating a Favicon

    Creating a favicon is pretty easy.

  • #7
    Senior Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    3,471
    Thanks
    13
    Thanked 361 Times in 357 Posts
    if you don’t care about stupid IE:
    Code:
    <link rel="icon" type="image/gif" href="http://example.com/image.gif">
    The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.
    André Behrens, NY Times Software Developer

  • #8
    Regular Coder
    Join Date
    Apr 2010
    Posts
    125
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Dormilich View Post
    in fact, any graphics file format will do (gif, jpeg, png, mng*, tiff, svg*)

    * – if your browser supports that
    I've used png before but had real trouble getting IE6 to see anything other than .ico. It would see it on the home page but not on internal pages for some reason.

  • #9
    Senior Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    3,471
    Thanks
    13
    Thanked 361 Times in 357 Posts
    Quote Originally Posted by instaunt View Post
    I've used png before but had real trouble getting IE6 to see anything other than .ico.
    it’s known that IE only supports .ico. after all, every other browser is better than IE.
    The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.
    André Behrens, NY Times Software Developer


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •