How can Put icon in location bar ?

General discussions related to php

Moderators: macek, egami, gesf

felipevianna
New php-forum User
New php-forum User
Posts: 12
Joined: Thu Nov 07, 2002 1:35 pm
Location: http://www.mundoacademico.net
Contact:

How can Put icon in location bar ?

Postby felipevianna » Fri Nov 08, 2002 1:18 pm

:D http://happy.blah.com


I want pu the my site's logo in left of the url in navigation bar inside the locations combo box.

Can you help me?

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Fri Nov 08, 2002 1:25 pm

I can help you...

You must cruate *.ico file with proportions 16*16 px
name of the file must be favicon.ico

and after that just copy this file to your server root dir...

felipevianna
New php-forum User
New php-forum User
Posts: 12
Joined: Thu Nov 07, 2002 1:35 pm
Location: http://www.mundoacademico.net
Contact:

Postby felipevianna » Tue Nov 12, 2002 6:34 pm


User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Wed Nov 13, 2002 12:30 am

Pejone wrote:name of the file must be favicon.ico

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Wed Nov 13, 2002 6:47 am


User avatar
WiZARD
Moderator
Moderator
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Postby WiZARD » Wed Nov 13, 2002 6:57 am

boroguy wrote:i cant either...

http://24.210.231.43/favicon.ico

it is 16x16 and in root dir


Pejone forget about this:

<LINK REL="SHORTCUT ICON" HREF="mypage.ico">

Place this between HEADER tag.
And once more it's work under IE 5.x Opera and NE (don't remember that version)
Not workin in IE 6

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Thu Nov 14, 2002 10:11 am

I did not forgot it. I just did not say about it. You can read about this at link that I have give you.

Code: Select all

<LINK REL="Shortcut Icon" HREF="http://www.domain.ru/..../icon_name.ico">

and this code need just in case if name of icon file is not favicon.ico.

What can be thoubles...

1) Wrogn format of the ico file...
in this I recoment use good ico editor for example AX Icons - I use it.

2) UnCopmleted configure of the server Apache...
in this case just create a .htaccess file with content
AddType image/x-icon .ico
and put it i the root dir..

3) Upload
You must upload this file at the server in the binary mode NOT ANSII...


P.S.
I find some some usefull links for you , but this is realy old and i dont know is there still aviable...

http://www.global-positioning.com/favicon/index.html
http://www.favicons.com


Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 2 guests