Author Topic: Bookmark icon  (Read 19090 times)

0 Members and 1 Guest are viewing this topic.

Offline bibabobu

  • Sr. Member
  • ****
  • Posts: 311
  • Technische und künstlerische Gravuren
    • View Profile
    • Technische und künstlerische Gravuren für die gesamte Metall-, Kunststoff- und Papierindustrie
Bookmark icon
« on: July 14, 2005, 08:39:29 PM »
Hi!

I would like to have my own bookmark icon in the favourite link in internet explorer.
Does anybody know how to do this?

Building my own icon with an appliciation should be no problem.
But how do i insert this to the code if somebody bookmarks my gallery.  :roll:
(for example like the "4" icon in the 4homepages bookmark in IE).


Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Bookmark icon
« Reply #1 on: July 14, 2005, 10:08:44 PM »
hi bibabobu,

in /templates/<your_template>/header.html insert the following ... adapted ... :

Code: [Select]
<head>
...
<link rel="shortcut icon" href="http://www.your_site/favicon.ico" TYPE="image/x-icon" />
...
</head>

mawenzi
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Bookmark icon
« Reply #2 on: July 14, 2005, 11:17:49 PM »
mawenzi
tell us how big a icon should be!

vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Bookmark icon
« Reply #3 on: July 14, 2005, 11:59:14 PM »
... round about ... 16px x 16px ... try it out ...  :wink:
... it should be a bmp-file ... only renamed as ico-file ...  :!:

mawenzi
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Bookmark icon
« Reply #4 on: July 15, 2005, 12:33:39 AM »
... round about ... 16px x 16px ... try it out ...  :wink:
... it should be a bmp-file ... only renamed as ico-file ...  :!:

mawenzi
really? didnt know that...had to use some crapy .ico editor...
btw, .ico files can contain different sizes/collor depth images, so it would display properly on any display resolutions/color depth.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline bibabobu

  • Sr. Member
  • ****
  • Posts: 311
  • Technische und künstlerische Gravuren
    • View Profile
    • Technische und künstlerische Gravuren für die gesamte Metall-, Kunststoff- und Papierindustrie
Re: Bookmark icon
« Reply #5 on: July 28, 2005, 12:34:14 AM »
i have insert an icon .ico file to the template images folder.

also i have added this code to the header.html between the head tags
Code: [Select]
<link rel="shortcut icon" href="http://www.industrie-gravuren.de/galerie/templates/default/images/logo_icon.ico" TYPE="image/x-icon" />
BUT it does not work. It is only the default ie icon shown in the favourite list.
Could you please help me what i am doing wrong???

The icon size is 16x16 pixel with 32bit color depth.


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Bookmark icon
« Reply #6 on: July 28, 2005, 12:52:39 AM »
the two things I've learned when I was working on my icon, are:
1) the icon filename must be favicon.ico
2) the icon file must be located in the root of your domain path: http://example.com/favicon.ico and not in a folder: http://example.com/test/favicon.ico
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline bibabobu

  • Sr. Member
  • ****
  • Posts: 311
  • Technische und künstlerische Gravuren
    • View Profile
    • Technische und künstlerische Gravuren für die gesamte Metall-, Kunststoff- und Papierindustrie
Re: Bookmark icon
« Reply #7 on: July 28, 2005, 01:11:09 AM »
Thanks V@no,

now it is working. You were right. That was the reason. :D

For me you are the web guru :mrgreen:

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Bookmark icon
« Reply #8 on: July 28, 2005, 01:12:36 AM »
really? didnt know that...had to use some crapy .ico editor...
... yes, also without some ico-editor. you can use ms-paint, a-ps or ...  :wink:

mawenzi
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline RoadDogg

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Düsipixel
Re: Bookmark icon
« Reply #9 on: July 28, 2005, 12:34:05 PM »
watch my site, there I use such an Icon. It´s shown in adressbar and in favorite list.

The Icon must be in root folder (where gallery´s php-files are) to guarantee compatibility with all browsers. I tested my site with Firefox, Opera and Netscape.

here my code in header.html bevore closing <head>-Tag

Code: [Select]
<link rel="icon" type="image/ico" href="http://yourdomain.com/favicon.ico">
<link rel="shortcut icon" href="http://yourdomain.com/favicon.ico">   

.ico files contain two different sizes: 16*16 and 32*32. AcdeSee for example shows both, when opening the icon.

I used this site to create my icon
http://www.html-kit.com/favicon/

For support requests please don´t forget link to your Gallery/to phpinfo.php
Code: [Select]
<?
phpinfo()
?>
safe_mode must turned OFF
Please check Error Messages

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: Bookmark icon
« Reply #10 on: August 10, 2005, 10:40:53 AM »
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline tdkpaul

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: Bookmark icon
« Reply #11 on: August 02, 2006, 08:30:40 PM »
you can also use a animated bookmark icon

<link rel="shortcut icon" href="http://www.yourpage/favicon.ico" TYPE="image/x-icon" />
<link rel="icon" href="http://www.yourpage/faviconanim.gif" type="image/gif" >

test on my site

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Bookmark icon
« Reply #12 on: August 02, 2006, 10:49:47 PM »
nice, but unfortunately it doesnt work in IE...:(
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline yesme

  • Jr. Member
  • **
  • Posts: 61
  • Yes for 4images!
    • View Profile
Re: Bookmark icon
« Reply #13 on: February 18, 2009, 04:38:38 AM »
My Icon or Shorcut Icon is not appear as usual. My codes that I'm using inside the <head></head> as below:

Code: [Select]
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<meta name="verify-v1" content="3kFQCK61yqcgKmIWBJiT9+mldcI+DgX9EapyyL5tBr8=" />
<meta name="robots" content="index, follow" />
<link rel="stylesheet" href="{template_url}/style.css" />
<link rel="icon" href="favicon.ico" type="image/ico" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />

What is the problem?

Thank you.
Love 4images! @--^-----

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Bookmark icon
« Reply #14 on: February 18, 2009, 04:54:05 AM »
is favicon.ico file located in the root directory?
also, I believe you need specify full internet path to your icon.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)