X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Problem replacing the xlogo.gif image with mine (https://forum.x-cart.com/showthread.php?t=26737)

BizzyB 11-19-2006 11:22 PM

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.

balinor 11-20-2006 03:13 AM

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

BizzyB 11-20-2006 03:57 PM

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"

balinor 11-20-2006 06:09 PM

Re: Problem replacing the xlogo.gif image with mine
 
Well no you want those numbers to match the size of the image.

BizzyB 11-22-2006 02:39 AM

Re: Problem replacing the xlogo.gif image with mine
 
All done - as you suggested. Many thanks


All times are GMT -8. The time now is 08:33 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.