Why the Netserver Webgui doesn't have a favicon?

On the Mac with Firefox, the favicon is present:

@Jim you could convert png to ico and put it in right folder of NS

1 Like

Perhaps an Apple extension is required to see the icon also on the desktop and splash screen:

I really don’t think an extention can help, because the favicon of the nethserver comunity is ok.

Depend on the wikipedia link, perhaps is the version of the .png.

Is it easy to convert the .png in the .ico… Or there have to put the hands on the e-smith layer/template :grin:

By “extension” I was meaning

<link rel="apple-touch-icon" ...>

@jim if you have an Apple client you can check it out. I need your help to open a new enhancement!

Where to put this code?

At home I have a Mac,

If I understand correctly the Wikipedia page, Mac and some Android devices use that LINK tag for the desktop shortcut and site preview, that is not necessarily the Favourite links!

We could add that LINK line after this one:

The path on the server should be

/usr/share/nethesis/NethServer/Template/NethServer.php

The favicon.png is under

/use/share/nethesis/nethserver-manager/images

Sources are here:

@Jim would you like to take on this challenge? :smile:

I think this feature is not a priority but is a very good “junior job” to practice our development process and the new packages.nethserver.org!

@giacomo, @davidep, @filippo_carletti, @alep, @stephdl, @Stll0, @alefattorini Dev Team?

Indeed, we should re-work this post with new jobs

1 Like

I will do it, don’t worry about this.
I like things well polished…

3 Likes

I’d put

 <link rel="apple-touch-icon-precomposed" href="/usr/share/nethesis/nethserver-manager/images/favicon.png" />

But it’s not work
I’d try to replace the existing line by

<link rel="icon"  type="image/png"  href="/usr/share/nethesis/nethserver-manager/images/favicon.png" />

With the same result… Not work

href value is a web URL, not a filesystem path!

It should a sort of https://server_name:980/images/favicon.png ?

Edit: how to find this path? As server_name can be everything?

1 Like

PHP knows it: copy the href value from the line below

<?php echo $view['favicon'] ?>

I will continue tomorrow

Tomorrow, tomorrow…

Now that I’ve got a NS Vm, I will do this junior job :persevere:

it seem that it’s more vicious yet that I think :mask:
Here, the Favicon is present:


Here, it’s absent:

There are tree workaround:

  • There are an HTML5 recommendation ignored by Apple and Google.
  • Ios5 and above, and some Android devices use <link rel="apple-touch-icon" href="somepath/image.png" />
  • Safari, on OS X, seem work but with a function WebClip that bring another problem.

Can I recommend the traditional favicon.ico solution?

1 Like

Why there’s a favicon.png is in /etc :laughing: