Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

VERY STRANGE images/image.gif VS. images\image.gif


sabotage79

Recommended Posts

This is a very strange problem i've come across. I decided to downloaded the latest Opera browser to check out my site. My head.php background images wouldn't show, but EVERY other image would. After a few minutes of playing with the code, I found that the bg images will show in Opera if I change the source from background="imageshead_menu_back.gif" to background="images/head_menu_back.gif". Again, this is only with background images in my table/cell.

 

It looks fine in IE either way. Whats up with that!?

 

Ryan

Link to comment
Share on other sites

Yes it would indeed... :(

Could make a switch:

 

if (SSL == "on") { 

   $bg = 'https://blabla;

} else {

   $bg = 'http://blabla;

}



<table bla background="<?php echo $bg; ?>">

 

HTH

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

Steve:

 

I think your right, as the site/background images display fine in Opera on my local Windows machine. My site is hosted on linux platform.

 

If this is the case, why does OSC use the for all its image links, and works fine on windows or linux/unix? Again, the issue seems to accure only by background images using , not normal images.

Strange.

 

Thanks for the info.

Ryan

Link to comment
Share on other sites

It looks fine in IE either way. Whats up with that!?

 

Ryan

 

What you have with the backslash is invalid HTML, so all of the other browsers are doing what is exactly right and not showing the picture.

 

IE, on the other hand shows it...because a feature of IE is to ignore coding convention ;) and just do it's own thing. Sometimes thats a good thing, and sometimes not so good.

Link to comment
Share on other sites

I faced the same problems, the same image gif files can show in IE browser, but not in both netscape and Mozilla.

 

what could be the quick fix for this problem?

 

the strangest of all is that, some of the gif can still show up in both IE and netscape and Mozilla. That is the netscape browser can show some of the product images but not all. Example I am not able to see the images for Microsoft Intelligent Mouse, DVD Red Corner, but I can see DVD Beloved images on the same page (catalog/default.php) in Netscape and Mozilla.

 

thanks

Link to comment
Share on other sites

MMMM- I don't think it's OSC. I haven't any problem with either IE or Mozilla. Only thing I've seen so far is transparent backgrounds, Mozzy won't display them at all, just a solid color.

Steve

-------------------------

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...