sabotage79 Posted February 5, 2003 Share Posted February 5, 2003 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 More sharing options...
mattice Posted February 5, 2003 Share Posted February 5, 2003 Hi Ryan, I have no idea WHY. Seems odd. Solution might be to make it a full http://www.yoursite.com/images/header.gif link instead. 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 More sharing options...
toolcrazy Posted February 5, 2003 Share Posted February 5, 2003 The forward slash / is correct for Unix dir structure. The backslash is for dos and windows. Sounds like Oprea found an error. Steve ------------------------- Link to comment Share on other sites More sharing options...
sabotage79 Posted February 5, 2003 Author Share Posted February 5, 2003 I thought of that, except that would cause problems during a secure checkout, having mixed secure/non-secure notices? Ryan Link to comment Share on other sites More sharing options...
mattice Posted February 5, 2003 Share Posted February 5, 2003 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 More sharing options...
sabotage79 Posted February 5, 2003 Author Share Posted February 5, 2003 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 More sharing options...
burt Posted February 5, 2003 Share Posted February 5, 2003 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 More sharing options...
toolcrazy Posted February 5, 2003 Share Posted February 5, 2003 Where are you getting this code from. I can't find anything with backslashes except for php escape charaters. Steve ------------------------- Link to comment Share on other sites More sharing options...
sabotage79 Posted February 5, 2003 Author Share Posted February 5, 2003 Well, since you asked.. it was my mistake. (typo) But good to know info. :P Ryan Link to comment Share on other sites More sharing options...
chinhuat Posted February 6, 2003 Share Posted February 6, 2003 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 More sharing options...
toolcrazy Posted February 6, 2003 Share Posted February 6, 2003 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.