Adding Favicion Image
Moderator: mkoch227
Adding Favicion Image
I want to add a Favicon, so that when my help desk opens in a browser, there is an accompanying Favicon image displayed in the ' tab'
Can you please advise how I do that ?
Can you please advise how I do that ?
Re: Adding Favicion Image
Place the favicon.ico into Hesk/img
Then open hesk/Header.txt
add
Then open hesk/Header.txt
add
Code: Select all
<link rel="shortcut icon" href="yourdomain.com/hesk/img/favicon.ico" />
-Steve
-
- Posts: 7
- Joined: Tue Feb 12, 2013 4:32 am
Re: Adding Favicion Image
Hello,
I've tried doing this, and it did not work at all.
I used the exact same code pasted above, just added http:// before yourdomain.com
In my case it is: http://yourdomain.com/support/img/favicon.ico
And it didn't work
I've tried doing this, and it did not work at all.
I used the exact same code pasted above, just added http:// before yourdomain.com
In my case it is: http://yourdomain.com/support/img/favicon.ico
And it didn't work
Re: Adding Favicion Image
You didnt literary use the exact code I hope.
The "yourdomain.com........" needs to point to the actual web path of the image you are trying to use. Whatever url you use to point to the picture, paste it into your browser and make sure you can view it before adding it to the hesk header.
The "yourdomain.com........" needs to point to the actual web path of the image you are trying to use. Whatever url you use to point to the picture, paste it into your browser and make sure you can view it before adding it to the hesk header.
-Steve
-
- Posts: 7
- Joined: Tue Feb 12, 2013 4:32 am
Re: Adding Favicion Image
I obviously placed my URL into the code, I just removed it, because I didn't want to give out my Board's URL.
I'm on a mobile device right now, so idk if its working or not.
But, I only put yourdomain.com there in place of my domain.
The /support/img/favicon.ico is the directory I put it in, on my server
Edit: I've checked it via my laptop, and it still isn't displaying.
I'm using Google Chrome, if that helps at all.....
I'm on a mobile device right now, so idk if its working or not.
But, I only put yourdomain.com there in place of my domain.
The /support/img/favicon.ico is the directory I put it in, on my server
Edit: I've checked it via my laptop, and it still isn't displaying.
I'm using Google Chrome, if that helps at all.....
Re: Adding Favicion Image
If you paste the url to the .ico file into chrome can you view the image?
-Steve
-
- Posts: 7
- Joined: Tue Feb 12, 2013 4:32 am
Re: Adding Favicion Image
No
I can't.
It forwards me to a 404 Not Found page on my host's server
I can't.
It forwards me to a 404 Not Found page on my host's server
Re: Adding Favicion Image
There's your issue.. you need to resolve the issue with your favicon.ico url.
-Steve
-
- Posts: 7
- Joined: Tue Feb 12, 2013 4:32 am
Re: Adding Favicion Image
I checked on my mobile, if I could view it, and apparently support was spelt, suppor when I tried to view it on mobile.
Just corrected it, and can view it fine.
Will post back, when I've checked my file edit.
Posted using iPhone
Edit: I've checked my file edit, and it is the correct URL, but it still isn't showing
Just corrected it, and can view it fine.
Will post back, when I've checked my file edit.
Posted using iPhone
Edit: I've checked my file edit, and it is the correct URL, but it still isn't showing
Re: Adding Favicion Image
Copy the entirety of header.txt and paste it in this topic to have a look.
-Steve
-
- Posts: 7
- Joined: Tue Feb 12, 2013 4:32 am
Re: Adding Favicion Image
Here is my entire header.txt file.
Code: Select all
<link rel="shortcut icon" href="http://knightriderinfo.tk/support/favicon.ico" />
Re: Adding Favicion Image
While I was looking into this I found that your favicon img is in fact a .png file. you need to rename the file to favicon.ico
Images needs to be 16×16, 32×32, 48×48, or 64×64 pixels in size, and 8-bit, 24-bit, or 32-bit in color depth
Images needs to be 16×16, 32×32, 48×48, or 64×64 pixels in size, and 8-bit, 24-bit, or 32-bit in color depth
-Steve
-
- Posts: 7
- Joined: Tue Feb 12, 2013 4:32 am
Re: Adding Favicion Image
I've recreated the favicon as a 16x16 image, and when viewing its properties area, it says the type is an Icon.
The original image is a GIF image.
If it's of any help, I was following this article: https://www.phpbb.com/kb/article/adding-a-favicon
The original image is a GIF image.
If it's of any help, I was following this article: https://www.phpbb.com/kb/article/adding-a-favicon
Re: Adding Favicion Image
The header.txt file is included after <body> tag, so placing the icon code here will not work.
You will need to add the favicon code inside the <head> - you will find that in inc/header.inc.php file.
You will need to add the favicon code inside the <head> - you will find that in inc/header.inc.php file.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 7
- Joined: Tue Feb 12, 2013 4:32 am
Re: Adding Favicion Image
Hello,
Thanks for the reply.
I completely forgot about my question here.
Klemen, I did what you said in the file specified and it works perfectly.
Thanks!
Thanks for the reply.
I completely forgot about my question here.
Klemen, I did what you said in the file specified and it works perfectly.
Thanks!