rejetto forum

favicon HFS ?

nodosur · 14 · 13153

0 Members and 1 Guest are viewing this topic.

Offline nodosur

  • Occasional poster
  • *
    • Posts: 30
  • Mamá !... donde estoy ?...
    • View Profile
    • www.no2ur.com.ar .:. Nodo Sur .:. Diseño Web + Hosting + TI
How customize this favicon HFS ?
Salu2 a To2
®


Offline Pit

  • Tireless poster
  • ****
    • Posts: 115
    • View Profile
    • EDV & Netzwerkservice in Berlin
Use the search of this forum, please. Search for "favicon" and you get many answers.
You reach our Webserver every day between 9 AM to 10 PM under: http://phampel.dyndns.org or http://free4you.dyndns.org


Offline nodosur

  • Occasional poster
  • *
    • Posts: 30
  • Mamá !... donde estoy ?...
    • View Profile
    • www.no2ur.com.ar .:. Nodo Sur .:. Diseño Web + Hosting + TI
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" />





« Last Edit: June 29, 2008, 07:45:01 PM by nodosur »
Salu2 a To2
®


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
after HREF="
you must put a slash /
that is /favicon.ico


and the file must reside in the root/home


Offline KotUA

  • Tireless poster
  • ****
    • Posts: 124
    • View Profile
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.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i don't understand what you actually want.
to choose the icon? just put the file you want.


Offline fPortal

  • Occasional poster
  • *
    • Posts: 14
    • View Profile
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.


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
<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


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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.


Offline jonathanxconnect

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
Alguem pode me ajudar a alterar o favicon?


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 842
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
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/
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline mhoney

  • Occasional poster
  • *
    • Posts: 16
    • View Profile
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.


Offline danny

  • Tireless poster
  • ****
    • Posts: 281
    • View Profile
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)
« Last Edit: March 02, 2021, 09:19:42 PM by danny »


Offline danny

  • Tireless poster
  • ****
    • Posts: 281
    • View Profile
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. 
« Last Edit: March 16, 2021, 06:44:27 AM by danny »