Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

my logo only shows a blank box with x in top left corner

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-03-2011, 11:40 PM
 
Crystalaid Crystalaid is offline
 

Member
  
Join Date: Jul 2009
Posts: 10
 

Default my logo only shows a blank box with x in top left corner

Hi,


I am trying to make a logo appear.

I went to head.tpl and found the image section to add my logo.

Created a JPG and a GIF logo file but neither show when I add them to my head.tpl template.

I've loaded them into files OK.. and they look fin there, but when I save either file in the head.tpl, all I see is a blank box with a red square in the top left corner.

Can anyone please tell me what I am doingwrong?

Many thanks

Kind regards
Vicki
__________________
X-cart Gold 4.1.12
Reply With Quote
  #2  
Old 11-04-2011, 04:32 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: my logo only shows a blank box with x in top left corner

From your description it sounds like a simple broken link. Are you sure you uploaded the logo to the exact place head.tpl is looking for it?

{$ImagesDir} is usually "x-cart root/skin1/images"
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 11-04-2011, 01:42 PM
 
Crystalaid Crystalaid is offline
 

Member
  
Join Date: Jul 2009
Posts: 10
 

Default Re: my logo only shows a blank box with x in top left corner

Hi and many thanks for your reply.

Not sure what you mean about a broken link, but I have uploaded my logo image to my image file. I did once have an image in the same file that worked fine, and I placed my new image in that same file and actually named it image2, and it is located fight under my image1 that works OK.

If I use image1, the logo on the screen is OK, but if I use image2, all I get is this blank box with a red square.

Do I need to addd my image2 somewhere else apart from Files?

I'm lost and hope you can steer me on the right track.

Many thanks and have a greta day.
Very kind regards
Vicki
__________________
X-cart Gold 4.1.12
Reply With Quote
  #4  
Old 11-05-2011, 03:23 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: my logo only shows a blank box with x in top left corner

Your logo image is called in skin1/head.tpl where it says this...
Code:
<td class="HeadLogo"><a href="{$current_location}/"><img src="{$ImagesDir}/xlogo.gif" width="244" height="67" alt="" /></a></td>
{$current_location} ="wherever your x-cart installation is on your web server" (i.e. www.mydomain.com/)
{$ImagesDir}= skin1/images (i.e www.mydomain.com/skin1/images)

Make sure "xlogo.gif" is the same as your image. Either change the xlogo.gif to your image name in head.tpl, or your image name to xlogo.gif and make sure it is in the correct directory and has the correct filename extension.

You can check the location by right clicking on the "blank box with a red square" and choosing "View image". The location will be displayed in the browser url address bar. Make sure it matches exactly what is in head.tpl.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:55 PM.

   

 
X-Cart forums © 2001-2020