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

Problem replacing the xlogo.gif image with mine

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-19-2006, 11:22 PM
  BizzyB's Avatar 
BizzyB BizzyB is offline
 

Senior Member
  
Join Date: Sep 2006
Location: Australia
Posts: 102
 

Question Problem replacing the xlogo.gif image with mine

After placing mylogo in skin1/images, I changed the following in skin1 - head.tpl:

<a href="{$http_location}/"><img src="{$ImagesDir}/xlogo.gif" width="244" height="67" alt="" /></a>

to this:-

<a href="{$http_location}/"><img src="{$ImagesDir}/mylogo.gif" width="100%" height="100%" alt="My Company Logo" /></a>

Everything looks as I expected on a computer having a screen with a resolution of 1024 x 768. However, the image is not displayed on a computer with a resolution of 800 x 600, instead, the phrase [AD-SIZE] is shown.

The mylogo image is 800 x 105 pixels. Maybe that is the problem!

I am new to web programming (but not to application development programming), so I would really appreciate some kind person pointing me in the right direction.

I have refreshed the screen many times but that doesn't change anything.

As a matter of interest, I disabled the three buttons on the top right of screen and left the phone numbers blank so they are not displayed.
__________________
Version = X-Cart 4.1.3 Gold
Status - Closed
Addon: Magnifier
OS = Windows
Western Australia
Reply With Quote
  #2  
Old 11-20-2006, 03:13 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Problem replacing the xlogo.gif image with mine

If you are going to use an image that large, you would need to move some items out of the header (such as the speed bar) to allow that image to fit....or...resize the image.

Moving to Template Editing
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-20-2006, 03:57 PM
  BizzyB's Avatar 
BizzyB BizzyB is offline
 

Senior Member
  
Join Date: Sep 2006
Location: Australia
Posts: 102
 

Default Re: Problem replacing the xlogo.gif image with mine

Thanks Balinor - I take it there is not a problem with the syntax then - that is, width="100%" height="100%" alt="My Company Logo"
__________________
Version = X-Cart 4.1.3 Gold
Status - Closed
Addon: Magnifier
OS = Windows
Western Australia
Reply With Quote
  #4  
Old 11-20-2006, 06:09 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Problem replacing the xlogo.gif image with mine

Well no you want those numbers to match the size of the image.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 11-22-2006, 02:39 AM
  BizzyB's Avatar 
BizzyB BizzyB is offline
 

Senior Member
  
Join Date: Sep 2006
Location: Australia
Posts: 102
 

Default Re: Problem replacing the xlogo.gif image with mine

All done - as you suggested. Many thanks
__________________
Version = X-Cart 4.1.3 Gold
Status - Closed
Addon: Magnifier
OS = Windows
Western Australia
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 05:57 AM.

   

 
X-Cart forums © 2001-2020