ohdang888 Posted October 29, 2008 Share Posted October 29, 2008 You know how the icon that displays on the tabs of your browsers???? like facebook's is that blue box with the "F". and php freaks is that circle looking thing... what is the code to put an icon in that tab? Thanks. Link to comment https://forums.phpfreaks.com/topic/130658-how-to-get-icon/ Share on other sites More sharing options...
The Little Guy Posted October 30, 2008 Share Posted October 30, 2008 create a 16x16 file and save it as this exact name: "favicon.ico" place it in the root folder of your site. it wont show for a while... and if you don't want to wait, just go to http://yoursite.com/favicon.ico then it should have updated. Link to comment https://forums.phpfreaks.com/topic/130658-how-to-get-icon/#findComment-677998 Share on other sites More sharing options...
Lamez Posted October 30, 2008 Share Posted October 30, 2008 <LINK REL="SHORTCUT ICON" HREF="http://www.mysite.com/graphics/icons/mypage.ico"> Source: http://www.webdevelopersjournal.com/articles/favicon.html Link to comment https://forums.phpfreaks.com/topic/130658-how-to-get-icon/#findComment-678043 Share on other sites More sharing options...
BoltZ Posted October 30, 2008 Share Posted October 30, 2008 Or you could try this <link rel="icon" type="image/gif" href="favicon.ico" /> That way you won't have to wait. Link to comment https://forums.phpfreaks.com/topic/130658-how-to-get-icon/#findComment-678073 Share on other sites More sharing options...
corbin Posted October 30, 2008 Share Posted October 30, 2008 <link rel="icon" type="image/gif" href="favicon.ico" /> If it's .ico, the mimetype shouldn't be image/gif. Link to comment https://forums.phpfreaks.com/topic/130658-how-to-get-icon/#findComment-678128 Share on other sites More sharing options...
BoltZ Posted October 30, 2008 Share Posted October 30, 2008 It still works especially if the original type of the image was gif Link to comment https://forums.phpfreaks.com/topic/130658-how-to-get-icon/#findComment-678453 Share on other sites More sharing options...
Daniel0 Posted October 30, 2008 Share Posted October 30, 2008 It still works especially if the original type of the image was gif Just because it works doesn't mean it's correct. The ico file has no information about whether it was "originally" a GIF file. Link to comment https://forums.phpfreaks.com/topic/130658-how-to-get-icon/#findComment-678459 Share on other sites More sharing options...
BoltZ Posted October 30, 2008 Share Posted October 30, 2008 To me, if it validates and it works, im puttin it on my site (if i want to of course) Link to comment https://forums.phpfreaks.com/topic/130658-how-to-get-icon/#findComment-678703 Share on other sites More sharing options...
corbin Posted November 1, 2008 Share Posted November 1, 2008 To me, if it validates and it works, im puttin it on my site (if i want to of course) Did you mean that in just this situation? If not: Then I would see your site and laugh at it. Sites like that remind me of local television commercials where everyone seems a little just not right. Link to comment https://forums.phpfreaks.com/topic/130658-how-to-get-icon/#findComment-679776 Share on other sites More sharing options...
BoltZ Posted November 1, 2008 Share Posted November 1, 2008 Yes I actually am just talking about that situation. If you want to see my site click the link in my profile Link to comment https://forums.phpfreaks.com/topic/130658-how-to-get-icon/#findComment-679778 Share on other sites More sharing options...
waynew Posted November 1, 2008 Share Posted November 1, 2008 Man, I was brought straight to your forum install script as soon as I tried to go your homepage. Also, nav on forum seems broken in IE. Link to comment https://forums.phpfreaks.com/topic/130658-how-to-get-icon/#findComment-679804 Share on other sites More sharing options...
BoltZ Posted November 1, 2008 Share Posted November 1, 2008 I no it is, i did that on purpose because the only thing i am using the site for is my forum software development. That way i dont have tomanually type in that stuff to get to the install page lol. I have to create the SQL for the forums now. Omg not looking forward to it Link to comment https://forums.phpfreaks.com/topic/130658-how-to-get-icon/#findComment-679810 Share on other sites More sharing options...
jcombs_31 Posted November 1, 2008 Share Posted November 1, 2008 I don't believe you have to use .ico with newer browsers. I think you can link to any gif or png. Link to comment https://forums.phpfreaks.com/topic/130658-how-to-get-icon/#findComment-679982 Share on other sites More sharing options...
BoltZ Posted November 1, 2008 Share Posted November 1, 2008 You are correct sir Link to comment https://forums.phpfreaks.com/topic/130658-how-to-get-icon/#findComment-679984 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.