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

Image missing in Internet Explorer

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-03-2009, 08:18 AM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Image missing in Internet Explorer

Hello everybody. I created a graphic for the products page of my website. It is a big red graphic in the middle of the page. It shows up in Firefox but when I check the site in Internet Explorer it says the image is missing? The image is RGB so I know that's not problem.

Here is the link:http://www.chimera-bikes.com/home.php?cat=108 .Please view it in Firefox and Internet Explorer.

Thanking everyone in advance.
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote
  #2  
Old 09-03-2009, 10:03 AM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Image missing in Internet Explorer

Firefox is calling:http://www.chimera-bikes.com/skin1/images/bike_size.jpg
IE is calling: http://www.chimera-bikes.com/bike_size.jpg
__________________
- Shane Munroe
Reply With Quote
  #3  
Old 09-03-2009, 10:14 AM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Re: Image missing in Internet Explorer

This is what I put in the "products.tpl" file to make the image appear:

<a href="http://www.chimera-bikes.com/pages.php?pageid=11"><img src="{$ImagesDir}/bike_size.jpg" alt="Bikes Sizes Chimera Bikes" width="" height="" border="0" align="middle" /></a>

What do I need to change to make it work in Explorer?

Tal I appreciate all your help.
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote
  #4  
Old 09-03-2009, 10:18 AM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Image missing in Internet Explorer

I'd suggest changing the {$imagesdir} to http://www.chimera-bikes.com/skin1/images/

Not quite sure why it wont properly parse the dir correctly.
__________________
- Shane Munroe
Reply With Quote
  #5  
Old 09-03-2009, 11:12 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Image missing in Internet Explorer

Quote:
Originally Posted by Tal
I'd suggest changing the {$imagesdir} to http://www.chimera-bikes.com/skin1/images/

Not quite sure why it wont properly parse the dir correctly.

I wouldn't do this. {$imagesDir} is the right way to do it. If you put the exact url there with http what happens when you look the page under https? A security warning. Your code looks ok however it could be the width and height with IE - put there your image dimensions
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #6  
Old 09-03-2009, 11:22 AM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Image missing in Internet Explorer

Quote:
Originally Posted by cflsystems
I wouldn't do this. {$imagesDir} is the right way to do it. If you put the exact url there with http what happens when you look the page under https? A security warning. Your code looks ok however it could be the width and height with IE - put there your image dimensions

Yeah, kind of forgot about that

But not having width+height defined can cause the actual URL to not be correct? Thats new to me o.O
__________________
- Shane Munroe
Reply With Quote
  #7  
Old 09-03-2009, 11:24 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Image missing in Internet Explorer

Not sure about this but I expect everything with IE
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #8  
Old 09-04-2009, 08:45 AM
 
ChristineP ChristineP is offline
 

eXpert
  
Join Date: Jul 2008
Posts: 310
 

Default Re: Image missing in Internet Explorer

In my experience, I found that the height and width need to be defined with IE. The other problem I noticed with IE is the acceptance of certain image formats (ie. .png, .jpg, .gif)

Quote:
Originally Posted by rageon75
This is what I put in the "products.tpl" file to make the image appear:

<a href="http://www.chimera-bikes.com/pages.php?pageid=11"><img src="{$ImagesDir}/bike_size.jpg" alt="Bikes Sizes Chimera Bikes" width="" height="" border="0" align="middle" /></a>

What do I need to change to make it work in Explorer?

Tal I appreciate all your help.
__________________
______________
version 4.1.9 Gold
Reply With Quote
  #9  
Old 09-06-2009, 06:32 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Image missing in Internet Explorer

IE interprets width="" height="" to display the image 1px wide and 1 px high. You can just leave off the definitions for width and height if you want the image to display without resizing it. But setting width and height equal to nothing will cause problems.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
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 11:10 PM.

   

 
X-Cart forums © 2001-2020