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

Why some images on my site do not display on the page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-12-2006, 06:54 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default Why some images on my site do not display on the page

I have some images on my site but some of them do not want to load when I go to the page and then when I start clicking around my site, they appear/disapear?

Is their something I can do.

style="background: url('{$ImagesDir}/top.jpg')
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #2  
Old 01-12-2006, 06:59 AM
 
balinor balinor is offline
 

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

Default

A url would help....
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-12-2006, 07:20 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

Site: http://www.michaelmoskva.com/xcart/home.php

On the right hand side thie is a grey culumn. it should dislpay like this:
Link: http://www.michaelmoskva.com/image20/image.htm

The top and bottom of the image doesnt not always display on the page?
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #4  
Old 01-12-2006, 07:24 AM
 
balinor balinor is offline
 

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

Default

Doesn't appear at all for me. Try this, instead of setting the style in the element itself, try creating a class and adding the class to skin1.css. THis would be the correct way to call the class in skin1.css:

.newclass {background: url(images/top.jpg);}

Then call the class in whatever element you want that background image to appear in:

class="newclass"

Make sure the image is in the skin1/images directory.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 01-12-2006, 08:04 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

Can you tell me how I can apply the classes to the three below images?

<TABLE cellspacing="0" cellpadding="0" border="0" width="100%" height="100%">
<TR valign="top">
<TD valign="top">
[img]{$ImagesDir}/topimage.gif[/img]</TD>
</TR>
<TR>
<TD width="126" height="100%" style="background: url('{$ImagesDir}/middleimage.jpg')">
[img]{$ImagesDir}/spacer.gif[/img]
</TD>
</TR>
<TR valign="bottom">
<TD valign="top">
[img]{$ImagesDir}/bottomimage.jpg[/img]
</TD>
</TR>
</TABLE>[/b]
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #6  
Old 01-12-2006, 08:20 AM
 
balinor balinor is offline
 

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

Default

Replace this:

<TD width="126" height="100%" style="background: url('{$ImagesDir}/middleimage.jpg')">

with this:

<TD width="126" height="100%" class="newclass">
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 04:01 AM.

   

 
X-Cart forums © 2001-2020