Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

favicon not working

Options
  • 21-04-2009 10:03am
    #1
    Registered Users Posts: 2,791 ✭✭✭


    Hi,

    I've created a 16x16 px windows icon file to use as the favicon for my website. I've put it in the root of my web application and added the following to my <head> section but it still wont appear in Firefox or IE.

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

    Any suggestions?


Comments

  • Registered Users Posts: 3,594 ✭✭✭forbairt


    site ?
    you're sure its an ico file ?
    you're sure you've uploaded it ? ...
    you're sure its just not your browser thinking it doesn't exist so its not checking again (kill browser and start it up again)


  • Registered Users Posts: 2,791 ✭✭✭John_Mc


    forbairt wrote: »
    site ?
    you're sure its an ico file ?
    you're sure you've uploaded it ? ...
    you're sure its just not your browser thinking it doesn't exist so its not checking again (kill browser and start it up again)

    Hi,

    Thanks for your reply. Unfortunately its a shipped product so I cant link to it. At the moment I'm just trying to get it to work on my local dev machine.

    It's definitely in the web application root, and I created it using Gimp and saved it as a Windows Icon file.

    When I view the page in Firefox and right click->View Page info and select Media, the favicon is greyed out so something is definitely not right. I tried uploading the favicon.ico but Boards wont accept it.


  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    John_Mc wrote: »
    It's definitely in the web application root, and I created it using Gimp and saved it as a Windows Icon file.

    Can you access it directly using a browser - http://www.yourserver.dom/favicon.ico


  • Registered Users Posts: 2,791 ✭✭✭John_Mc


    Liam Byrne wrote: »
    Can you access it directly using a browser - http://www.yourserver.dom/favicon.ico

    I can, but only after I login.

    It's not just a permissions issue though because once I'm logged still doesnt show up.

    I'm put the favicon definition in the head of my ASP.net masterpage, could that be causing a problem?


  • Moderators, Society & Culture Moderators Posts: 25,558 Mod ✭✭✭✭Dades


    Maybe try putting the full path to the favicon into the head.

    i.e.

    [HTML]<link rel="icon" href="http://www.yourserver.dom/favicon.ico&quot; type="image/x-icon"/>[/HTML]


  • Advertisement
Advertisement