coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Qayyom on October 31, 2007, 11:56:31 AM

Title: I want to set an Icon/Image, visible in address bar for my site
Post by: Qayyom on October 31, 2007, 11:56:31 AM
Can any one help me to set an Icon/image for my site that could be visible in address bar of Browser

I don't know any PHP, HTML etc programming.

please give me detailed command/ script line and where to put in file.

i'll be thankful

my site is PICSnCLIPS.net
Title: Re: I want to set an Icon/Image, visible in address bar for my site
Post by: Nibbler on October 31, 2007, 11:57:15 AM
Upload the icon to your webroot as favicon.ico.
Title: Re: I want to set an Icon/Image, visible in address bar for my site
Post by: Qayyom on October 31, 2007, 12:24:32 PM
i just upload the image and rename to "favicon.ico" and paste in public_html

but did't appear any ico

I am using Oranje Theme,

may i've to set the path any where in the file? or so

please also tell me about max/ recommended size of an image/ico for favicon

if possible please give me (attach here) any sample favicon image
Title: Re: I want to set an Icon/Image, visible in address bar for my site
Post by: Nibbler on October 31, 2007, 12:33:26 PM
You probably need to refresh or clear your cache.

You already know an example - http://www.google.com/favicon.ico
Title: Re: I want to set an Icon/Image, visible in address bar for my site
Post by: Qayyom on November 01, 2007, 05:14:14 AM
Thanks a lot ! (Problem Solved)

It was easy to do, and done by me.

Thanks again
Title: Re: I want to set an Icon/Image, visible in address bar for my site
Post by: Joachim Müller on November 01, 2007, 11:43:50 AM
An ico file is not just a renamed gif or jpeg. You have to explicitely create an ico, which contains several resolutions. Read up http://favicon.com/:
QuoteWhat is an ico file?
An ico file is actually a repository of bitmap like images. They are used because in some locations a 16x16 pixel image is desired, and sometimes a 32x32 image may be needed. Sometimes a 16 color image is desired, and sometimes a 256 color icon is desired. This repository is scanned for the image size/color count appropriate for the location and the computer's color capability. If the image is not ideal, it may be compressed, expanded, and/or colors may be modified producing unexpected results.

Isn't an ICO file just a renamed BMP?
NO. Although some people have said an ico is a BMP, this is not true. Think of an ICO file as a repository of BMP images. It has its own format. If you have a 16x16 bmp you want to convert, use a program designed for the creation of favicons, or hire us to do it for you!

Create a favicon using http://www.rw-designer.com/online_icon_maker.php or similar.
Not related to Coppermine at all, but a general web design question, which can easily be googled - there are loads of valid pages if you google for "favicon".
Title: Re: I want to set an Icon/Image, visible in address bar for my site
Post by: Qayyom on November 01, 2007, 01:34:01 PM
Thanks for sharing useful help for me.

I found the detailed help from the site: http://www.html-kit.com/favicon/ (http://www.html-kit.com/favicon/)

I think it is useful for every one

To add favicon to your site:

    * Upload the favicon.ico file to the root folder (like public_html) on your web site where you have the web page.
       
    * Open your theme's template.html file to edit and add the following HTML tag into,
       after the <head> tag, before the </head> tag

       <link rel="shortcut icon" href="favicon.ico" >

    * It should work more perfectly