Forums / Templates, Stylesheets, Page Layout / Logo Image Not showing Up

Logo Image Not showing Up

Started by sperdie on 21 Nov 2017, 5:58 PM · Views: 5,683

Results 1 to 20 of 21
21 Nov 2017, 5:58 PM
#1
sperdie avatar

sperdie

Zen Follower

Join Date:
Feb 2005
Location:
Jim Thorpe Pennsylvania
Posts:
131
Plugin Contributions:
0

Logo Image Not showing Up

Having a problem getting my logo to show up. Only see ? where the image should be.
I have changed the location in header.php several times but still not there.
When I change the HEADER_ALT_TEXT I see the text that I put in there when I hover over (although it seems that I am limited in how many characters)
so it seems like I'm editing the right file
Version 1.5.5e
corsoitalianspecialties.com

define('HEADER_ALT_TEXT', ‘Corso’);
define('HEADER_SALES_TEXT', '');
define('HEADER_LOGO_WIDTH', ‘100’);
define('HEADER_LOGO_HEIGHT', ‘100’);
define('HEADER_LOGO_IMAGE', ‘/corsoitalianspecialties/includes/languages/english/images/logo.gif’);

I have the logo.gif image that I want in the images folder of the Template folder and in the folder above.
I can click on the logo.gif with my ftp program and it opens.
I have tried '/logo.gif' and 'logo.gif'

Got a Zencart Tatoo & Vanity Plate

21 Nov 2017, 6:17 PM
#2
badarac avatar

badarac

Totally Zenned

Join Date:
Aug 2009
Location:
Longs, SC
Posts:
635
Plugin Contributions:
0

Re: Logo Image Not showing Up

In includes/languages/english/header.php the define should be ```php
define('HEADER_LOGO_IMAGE', 'logo.gif');


What is being generated on you site is ```html
<img src="includes/templates/template_default/images/gif’" alt="‘Corso’" title=" ‘Corso’ ">

As you can see the file name is gif. Be sure that the image is uploaded as logo.gif to includes/templates/template_default/images and that the filename you upload matches the case of the filename in the define.

21 Nov 2017, 6:25 PM
#3
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Logo Image Not showing Up

I am having a similar issue.
I'm not new to ZenCart so I am fairly positive I have everything right but my logo will not show up.
The ZenCart logo remains in place.
i renamed the logo.gif files in the other templates to logo.jet to try and force the use of my logo in templates/CUSTOM/Images/ with no luck.
I also tried putting my logo.gif file in the other template "images" folders to see if it would come up but still the ZenCart logo remains.
If I inspect the logo element in the browser it clearly shows the correct path to my logo image but the ZenCart image remains.

Attachment 17467

Attachment 17468

I'm beating my head against a wall trying to figure this out.

Ver. 1.5.53
https://www.wildsteedworx.com/ZC155e/

21 Nov 2017, 6:32 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,120
Plugin Contributions:
56

Re: Logo Image Not showing Up

wsworx:

I am having a similar issue.
I'm not new to ZenCart so I am fairly positive I have everything right but my logo will not show up.
The ZenCart logo remains in place.
i renamed the logo.gif files in the other templates to logo.jet to try and force the use of my logo in templates/CUSTOM/Images/ with no luck.
I also tried putting my logo.gif file in the other template "images" folders to see if it would come up but still the ZenCart logo remains.
If I inspect the logo element in the browser it clearly shows the correct path to my logo image but the ZenCart image remains.

Attachment 17467

Attachment 17468

I'm beating my head against a wall trying to figure this out.

Ver. 1.5.53
www.wildsteedworx.com/ZC155e/
Looks like you got this corrected; please advise.

21 Nov 2017, 6:35 PM
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,120
Plugin Contributions:
56

Re: Logo Image Not showing Up

badarac:

In includes/languages/english/header.php the define should be ```php
define('HEADER_LOGO_IMAGE', 'logo.gif');

> 
> What is being generated on you site is ```html
<img src="includes/templates/template_default/images/gif’" alt="‘Corso’" title=" ‘Corso’ ">

As you can see the file name is gif. Be sure that the image is uploaded as logo.gif to includes/templates/template_default/images and that the filename you upload matches the case of the filename in the define.
What @badarac said! The HEADER_LOGO_IMAGE definition should contain *only *the file name. Default Zen Cart processing then looks in the /includes/templates/YOUR_TEMPLATE/images directory (where YOUR_TEMPLATE is your template's directory name) for the file you identify.

21 Nov 2017, 6:35 PM
#6
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Logo Image Not showing Up

No, it is still wrong.
The ZenCart logo should be my company logo.
But as you can see in the images it is the ZenCart logo even though the element inspection clearly shows my company logo.gif file is being called.

21 Nov 2017, 6:37 PM
#7
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,120
Plugin Contributions:
56

Re: Logo Image Not showing Up

wsworx:

No, it is still wrong.
The ZenCart logo should be my company logo.
But as you can see in the images it is the ZenCart logo even though the element inspection clearly shows my company logo.gif file is being called.
You need to clear your browser's cache; I'm seeing your logo (not the Zen Cart one) clear as day.

21 Nov 2017, 6:38 PM
#8
badarac avatar

badarac

Totally Zenned

Join Date:
Aug 2009
Location:
Longs, SC
Posts:
635
Plugin Contributions:
0

Re: Logo Image Not showing Up

wsworx:

No, it is still wrong.
The ZenCart logo should be my company logo.
But as you can see in the images it is the ZenCart logo even though the element inspection clearly shows my company logo.gif file is being called.

You probably need to clear the cache in you browser. The new image is appearing but has the same name as the zencart logo

21 Nov 2017, 6:38 PM
#9
sperdie avatar

sperdie

Zen Follower

Join Date:
Feb 2005
Location:
Jim Thorpe Pennsylvania
Posts:
131
Plugin Contributions:
0

Re: Logo Image Not showing Up

I just pasted what you put there and it worked (thanks) I thought that I had that line exactly before but I guess not.
I am noticing that if I change the logo dimensions that there is no change to the size of the logo.
For example I changed the Width to 50 and the height to 50 and there is no change to the size. (I am clearing cache)

define('HEADER_LOGO_WIDTH', ‘100’);
define('HEADER_LOGO_HEIGHT', ‘100’);

Got a Zencart Tatoo & Vanity Plate

21 Nov 2017, 6:46 PM
#10
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Logo Image Not showing Up

Thank You for taking a look
This is so weird
I use Google and I cleared the "cached images and files" but nothing changed.
So I tried clearing "Browsing History", :Download History" and "Cached images and files" and still it doesn't change.
I even loaded Firefox and it is showing the Zen logo as well.
LOLOLOL

21 Nov 2017, 6:47 PM
#11
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Logo Image Not showing Up

badarac:

You probably need to clear the cache in you browser. The new image is appearing but has the same name as the zencart logo

Thank You for taking a look
This is so weird
I use Google and I cleared the "cached images and files" but nothing changed.
So I tried clearing "Browsing History", :Download History" and "Cached images and files" and still it doesn't change.
I even loaded Firefox and it is showing the Zen logo as well.
LOLOLOL

21 Nov 2017, 6:47 PM
#12
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Logo Image Not showing Up

lat9:

You need to clear your browser's cache; I'm seeing your logo (not the Zen Cart one) clear as day.

Thank You for taking a look
This is so weird
I use Google and I cleared the "cached images and files" but nothing changed.
So I tried clearing "Browsing History", :Download History" and "Cached images and files" and still it doesn't change.
I even loaded Firefox and it is showing the Zen logo as well.
LOLOLOL

21 Nov 2017, 7:12 PM
#13
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Logo Image Not showing Up

Give it a little time. It may be cached in your ISP's server (though I didn't think they did that any more). Your logo is definitely showing to the rest of us.

21 Nov 2017, 8:44 PM
#14
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Logo Image Not showing Up

stevesh:

Give it a little time. It may be cached in your ISP's server (though I didn't think they did that any more). Your logo is definitely showing to the rest of us.

i don't think so.... i think people are looking in the wrong place. on the live site, here is the logo:

http://www.wildsteedworx.com/includes/templates/CUSTOM/images/logo.gif

looks good. i think that's what everyone is looking at..... except for @wsworx... and me....

on the NEW site, the logo is here:

http://www.wildsteedworx.com/ZC155e/includes/templates/CUSTOM/images/logo.gif

that's the zencart logo. if it was cached in the IP's server, how would the server serve up different logos to different users?

my first time looking at my big dog motorcyle specialist; so no way i'm caching the image.

make sure you have your desired image in the folder:

ZC155e/includes/templates/CUSTOM/images/logo.gif

that seems to be the problem.... at least to me.

good luck!

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

21 Nov 2017, 9:38 PM
#15
badarac avatar

badarac

Totally Zenned

Join Date:
Aug 2009
Location:
Longs, SC
Posts:
635
Plugin Contributions:
0

Re: Logo Image Not showing Up

carlwhat:

i don't think so.... i think people are looking in the wrong place. on the live site, here is the logo:

http://www.wildsteedworx.com/includes/templates/CUSTOM/images/logo.gif

looks good. i think that's what everyone is looking at..... except for @wsworx... and me....

on the NEW site, the logo is here:

http://www.wildsteedworx.com/ZC155e/includes/templates/CUSTOM/images/logo.gif

that's the zencart logo. if it was cached in the IP's server, how would the server serve up different logos to different users?

my first time looking at my big dog motorcyle specialist; so no way i'm caching the image.

make sure you have your desired image in the folder:

ZC155e/includes/templates/CUSTOM/images/logo.gif

that seems to be the problem.... at least to me.

good luck!

No, you're the one seeing the wrong thing.
Attachment 17473
Attachment 17474

21 Nov 2017, 11:19 PM
#16
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Logo Image Not showing Up

carlwhat:

i don't think so.... i think people are looking in the wrong place. on the live site, here is the logo:

http://www.wildsteedworx.com/includes/templates/CUSTOM/images/logo.gif

looks good. i think that's what everyone is looking at..... except for @wsworx... and me....

on the NEW site, the logo is here:

http://www.wildsteedworx.com/ZC155e/includes/templates/CUSTOM/images/logo.gif

that's the zencart logo. if it was cached in the IP's server, how would the server serve up different logos to different users?

my first time looking at my big dog motorcyle specialist; so no way i'm caching the image.

make sure you have your desired image in the folder:

ZC155e/includes/templates/CUSTOM/images/logo.gif

that seems to be the problem.... at least to me.

good luck!

Thanks for looking
The logo.gif in the ZC155e is definitely our logo and not the ZenCart logo
This is the craziest thing I have ever seen
People from the midwest east can see our logo
West of the Midwest everyone is seeing the ZenCart logo
I wouldn't care except I need to see the changes so I can get my work done....lol

21 Nov 2017, 11:22 PM
#17
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Logo Image Not showing Up

are you using a CDN? cloudfare? something similar?

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

21 Nov 2017, 11:34 PM
#18
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Logo Image Not showing Up

carlwhat:

are you using a CDN? cloudfare? something similar?

No CDN and No Cloudflare

I just uploaded a different image, named "logo.gif", that is larger than my logo file.
The ZenCart Logo increase to that size but no new image
I asked my friend in Des Moines to look at the site and he still see's my logo but it increased to the size of the new image also.

So my friend had me rename the logo to logo1.gif and change the name in the "header.php" file and now it is working.

Question now is....Why?

21 Nov 2017, 11:45 PM
#19
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Logo Image Not showing Up

So my friend had me rename the logo to logo1.gif and change the name in the "header.php" file and now it is working.
I then changed the image again with a new image and now I keep seeing my logo but it changes size again like before.

Question now is....Why? Clearly it is some type of caching issue somewhere but where?

22 Nov 2017, 12:20 AM
#20
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Logo Image Not showing Up

So in the end it was my fault. What else is new.
I dug into my new hosting company and sure enough it is using a CDN called SiteLock.
But I still do not understand why I could never see the updates. SiteLock stated that it takes time for the updates to show up but we're talking several days and the changes never occured.
Thanks to those who helped. It is much appreciated.