| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Category Pics not displaling in IE correctly | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
I am new to this form and have searched for an answer, please forgive me if I missed the post. http://67.227.134.204/shop/home.php?cat=365 The category pics do not display in IE, is there a fix for this? It works great in FireFox! thanks for your time. Cheers, Jason
__________________
Current version: 4.1.9 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Looks as if you have an error in one of your templates. Where the images are not displaying in IE, you have:
<img width="200" height="$height"
__________________
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) |
|||||||||
#3
|
|||||||
|
|||||||
![]() what would i put there to make it auto on the height?
__________________
Current version: 4.1.9 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() I don't understand your question.
If you don't state a height, the image will scale to a width of 200.
__________________
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) |
|||||||||
#5
|
|||||||
|
|||||||
![]() so the correct code would be
<img width="200" height="" I do want the 200 width but I want the height to be determined by the image. Thanks for your help. This will save me days if not weeks.
__________________
Current version: 4.1.9 |
|||||||
#6
|
|||||||||
|
|||||||||
![]() no - then you will have the same issues in IE.
just do <img width="200" src="the url" alt="alt text" /> Still not sure I understand 'determined by the image'. If you set the width only, it will scale based on the width. If you want it to scale by the height, set the height, not the width. Anything else will distort the image, unless width and height are set proportional to the original. see this to understand what the html settings will do.
__________________
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) |
|||||||||
#7
|
|||||||
|
|||||||
![]() You wouldn't happen to know which template file that is in?
__________________
Current version: 4.1.9 |
|||||||
#8
|
|||||||||
|
|||||||||
![]() Have you tried using Webmaster mode? It will tell you exactly which template to modify so you don't have to guess. You'll probably find some of the problems in skin1/customer/main/subcategories.tpl. Not sure about what templates were modified on your front page.
__________________
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) |
|||||||||
#9
|
|||||||
|
|||||||
![]() wow, you are very good, here is what I found.
<a href="home.php?cat={$subcat.categoryid}"><img src="{$subcat.icon_url|amp}" alt="{$subcat.category|escape}" style="border: 1px solid rgb(190, 166, 121); padding: 2px;"/ width="200" height="$height"></a>
__________________
Current version: 4.1.9 |
|||||||
#10
|
|||||||
|
|||||||
![]() I fixed it!
You are very kind, and i really appreciate your help. If there is anyway i can return the favor just ask. Cheers, Jason
__________________
Current version: 4.1.9 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|