rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: nodosur on June 29, 2008, 04:34:21 PM

Title: favicon HFS ?
Post by: nodosur on June 29, 2008, 04:34:21 PM
How customize this favicon HFS ?
Title: Re: favicon HFS ?
Post by: Pit on June 29, 2008, 04:51:43 PM
Use the search of this forum, please. Search for "favicon" and you get many answers.
Title: Re: favicon HFS ?
Post by: nodosur on June 29, 2008, 05:29:31 PM
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)



Title: Re: favicon HFS ?
Post by: rejetto on June 29, 2008, 09:27:34 PM
after HREF="
you must put a slash /
that is /favicon.ico


and the file must reside in the root/home
Title: Re: favicon HFS ?
Post by: KotUA on July 16, 2008, 11:05:04 AM
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.
Title: Re: favicon HFS ?
Post by: rejetto on July 16, 2008, 12:46:53 PM
i don't understand what you actually want.
to choose the icon? just put the file you want.
Title: favicon HFS
Post by: fPortal on February 09, 2009, 02:39:45 AM
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.
Title: Re: favicon HFS ?
Post by: Mars on February 09, 2009, 09:24:06 AM
<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
Title: Re: favicon HFS ?
Post by: rejetto on February 09, 2009, 12:02:35 PM
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.
Title: Re: favicon HFS ?
Post by: jonathanxconnect on January 09, 2015, 05:32:33 PM
Alguem pode me ajudar a alterar o favicon?
Title: Re: favicon HFS ?
Post by: LeoNeeson on January 10, 2015, 08:38:16 AM
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/
Title: Re: favicon HFS ?
Post by: mhoney on November 30, 2020, 04:23:13 PM
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.
Title: Re: favicon HFS ?
Post by: danny on March 02, 2021, 09:15:00 PM
Other way (base64): 
Code: [Select]
<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)
Code: [Select]
<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)
Title: Re: favicon HFS ?
Post by: danny on March 16, 2021, 06:35:18 AM
latest effort on favicon is this: 
Code: [Select]
<link rel="icon" href="data:image/gif;base64,R0lGODlhEAAQAPIBABAhShAAAIx/KWeFav/vKSRWjDl7ztPMwyH5BAEAAAAALAAAAAAQABAAAANRCLrcPiee4dSAMt528zGXIDCXERloOFoD6l6DKCpF/cayQAG1DeYwWq8GKxYAgaRyyUwSnAGC9CmYQqNY5XM5fU4FgSoBnPU2y9CtU0o+K5oJADs=">It costs less than RQ overhead.