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)
-   -   Image missing in Internet Explorer (https://forum.x-cart.com/showthread.php?t=49513)

rageon75 09-03-2009 08:18 AM

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.

Shamun 09-03-2009 10:03 AM

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

rageon75 09-03-2009 10:14 AM

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.

Shamun 09-03-2009 10:18 AM

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.

cflsystems 09-03-2009 11:12 AM

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

Shamun 09-03-2009 11:22 AM

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

cflsystems 09-03-2009 11:24 AM

Re: Image missing in Internet Explorer
 
Not sure about this but I expect everything with IE :)

ChristineP 09-04-2009 08:45 AM

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.


gb2world 09-06-2009 06:32 PM

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.


All times are GMT -8. The time now is 06:30 PM.

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