LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Small image beside URL in browser (https://www.linuxquestions.org/questions/linux-general-1/small-image-beside-url-in-browser-392777/)

ctkroeker 12-14-2005 10:45 AM

Small image beside URL in browser
 
How do I make a small image like the one in this picture http://cory.mensajerofm.org/Dibujo.JPG appear beside the URL in a browser for my website?
http://cory.mensajerofm.org/Dibujo.JPG (arrows pointing at what I mean)

The_JinJ 12-14-2005 12:02 PM

1/ Create your FAV icon. 16x16 is usually okay for most servers.
Remember it must be followed by the extension .ico

2/ Name the icon "favicon.ico" or consult your hosting company for information on what to name your FAV icon, and place it in your root directory on your server (this may be the root directory of the server itself, or your user root directory if the server hosts multiple sites). Your favicon should go in the same folder as the page that users first see when they browse to your site (usually called index.htm(l) or default.htm(l), but this may be different on your server).

3/ Refresh your website in your own browser, the browser should search for the FAV icon and display it.

ctkroeker 12-16-2005 09:50 AM

Ok, I did a test and it worked. SO I deleted my favicon, because I wanted to use a different one, but my browser, and on other PCīs as well, still displayed the favicon. So I deleted the browser cache and still itīs there. Iīm 100% sure itīs deleted. http://www.mensajerofm.org/favicon.ico . But it does not exist on the server.
How do I solve this?

ctkroeker 12-16-2005 05:01 PM

solved it.

Code:

<HEAD>
<LINK REL="SHORTCUT ICON" HREF="http://www.mydomain.com/myicon.ico">
<TITLE>My Title</TITLE>
</HEAD>



All times are GMT -5. The time now is 10:34 PM.