Forums / General Questions / How do I get a pic before my metatag?

How do I get a pic before my metatag?

Locked

Views: 1,203

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
16 Sep 2008, 11:27 AM
#1
phat avatar

phat

New Zenner

Join Date:
Jul 2007
Location:
south africa
Posts:
73
Plugin Contributions:
0

How do I get a pic before my metatag?

how would i add a pic before my meta tag?

getting zenned out...

16 Sep 2008, 3:28 PM
#3
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Re: How do I get a pic before my metatag?

Are you talking about favicons?

html-kit.com/favicon

16 Sep 2008, 3:44 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: How do I get a pic before my metatag?

If you're talking about favicon there's an FAQ article about it, as it relates to Zen Cart.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 Sep 2008, 10:21 PM
#5
phat avatar

phat

New Zenner

Join Date:
Jul 2007
Location:
south africa
Posts:
73
Plugin Contributions:
0

Re: How do I get a pic before my metatag?

thanks so another new thing learnt, favicon is a favourite icon :D

i loaded it to my public_html but it does not show show i have to go with step 2

  1. OPTIONAL: Use a different image name, or force browsers to load a specific filename (normally NOT needed):
    If you wish to have each page setting the favicon data explicitly, you can simply open your /includes/languages/english/YOURTEMPLATE/meta_tags.php file and uncomment the define for FAVICON as shown:

// favicon setting
// There is usually NO need to enable this unless you wish to specify a path and/or a different filename
define('FAVICON', 'favicon.ico');

With that set, Zen Cart will explicitly mention the favicon settings on every page, automatically.

so how do i set it then?

like this?

define('FAVICON', 'http://public_html/favicon.ico');

getting zenned out...

17 Sep 2008, 12:46 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: How do I get a pic before my metatag?

No, usually just leaving the define as-is should suffice.

You said it "does not show". Did you try bookmarking your site with your browser? Often that's required in order for it to show, especially in IE.

If it won't show then you may not have created a valid .ico file according to the specifications for such a file.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Sep 2008, 5:54 AM
#7
phat avatar

phat

New Zenner

Join Date:
Jul 2007
Location:
south africa
Posts:
73
Plugin Contributions:
0

Re: How do I get a pic before my metatag?

thanks it obviously takes a while to work as it is working this morning!!!

thank you very much!!!

getting zenned out...

17 Sep 2008, 10:33 AM
#8
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: How do I get a pic before my metatag?

DrByte indicates that the favicon must be a valid ".ico" file.

There is a free online utility that will convert a JPEG to ICO for you.

Just make sure your original image is the appropriate size and aspect ratio.

GO TO: http://www.coolutils.com/Online-Image-Converter.php#

17 Sep 2008, 11:10 AM
#9
phat avatar

phat

New Zenner

Join Date:
Jul 2007
Location:
south africa
Posts:
73
Plugin Contributions:
0

Re: How do I get a pic before my metatag?

thank you that is the one i used!!

getting zenned out...