rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: nodosur on June 29, 2008, 04:34:21 PM
-
How customize this favicon HFS ?
-
Use the search of this forum, please. Search for "favicon" and you get many answers.
-
in my template insert <link rel="shortcut icon" href="favicon.ico" />
in my folder with HFS insert my favicon.ico
but when page appear in explorer not see the favicon in adress
solved:
insert this judgment with the specific URL and the favicon it turns out to be perfect.
<link rel="shortcut icon" href="http://c.imagehost.org/0206/ns.ico" type="image/ico" />
(http://c.imagehost.org/0206/ns.ico)
-
after HREF="
you must put a slash /
that is /favicon.ico
and the file must reside in the root/home
-
Hi!
When the pattern was called in which do not specify with favicon, then the default icon is taken from HFS.
And not whether to do so that you can choose somewhere in the menu.
This is of course not so important, but in the future would have liked.
Sorry for the English.
-
i don't understand what you actually want.
to choose the icon? just put the file you want.
-
Sorry to bring up a dead topic, but I am attempting to get the favicon to work, where do I put this code into to get one. I tried the method in the FAQ, and that does not seem to work for me.
-
<img src="/favico.ico">
<img src="/~img_lock">
<img src="/~img_folder">
<img src="/~img_file">
<img src="/~img_link">
<img src="/~imgXX"> wher XX is the index of hfs icon table 0 to 40
-
the FAQ says just "rename".
if you have the icon in a folder that is not .ico (like .png or .jpg) you cannot just rename.
you should convert the file format.
if you don't want to convert the format, maybe changing the reference inside the template to favicon.png/jpg/etc will work.
-
Alguem pode me ajudar a alterar o favicon?
-
Alguem pode me ajudar a alterar o favicon?
Use a favicon editor, or any icon editor, like these:
http://favicon-generator.org/editor/
http://www.degraeve.com/favicon/
-
One thing I'd like to add to this thread is that you need to make sure you add the favicon.ico file to your VFS filesystem and set it so anyone can access it. It still won't show in your directory listing, but without giving everyone access you will get a file not found error when you look at you browser debug console.
-
Other way (base64):
<link rel="shortcut icon" href="data:image/gif;base64,R0lGODlhEAAQALMAABYAABMmTDZXa2ZkVRxeqzl7zkZvmkJ71m6DLWKPsah+Ko5zV5WUZ8alc/zsKtPU1CH5BAEAAAEALAAAAAAQABAAAARfMMhJq00vv2GlYVrWDBxlGOFzjAhiGkd2EOSALNNJEEVvkK0FLrArHhKGVrBU3B2VAiGzSUgIrjVBAMDter9cRxjgKIsV5jF53RV7zWKzAoB2zNlxMH7sDpfvehJgEQAAOw==">
-data use not cachable (because it is not a file)
-16 colors or less, else huge (must compress)
+no additional http request (because it is not a file)
+the favicon file is never requested (thus no delays)
Or, for off (no data use) (does not request file)
<link rel="icon" href="data:,">
-boring
+fastest
+useful for HFS2.4's login page (especially if web-root has password)
+useful to decrease workload of frequently-hit error page (use only html file instead of html And ico file)
-
latest effort on favicon is this:
<link rel="icon" href="data:image/gif;base64,R0lGODlhEAAQAPIBABAhShAAAIx/KWeFav/vKSRWjDl7ztPMwyH5BAEAAAAALAAAAAAQABAAAANRCLrcPiee4dSAMt528zGXIDCXERloOFoD6l6DKCpF/cayQAG1DeYwWq8GKxYAgaRyyUwSnAGC9CmYQqNY5XM5fU4FgSoBnPU2y9CtU0o+K5oJADs=">
It costs less than RQ overhead.