![]() |
Category Pics not displaling in IE correctly
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 |
Re: Category Pics not displaling in IE correctly
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" |
Re: Category Pics not displaling in IE correctly
what would i put there to make it auto on the height?
|
Re: Category Pics not displaling in IE correctly
I don't understand your question.
If you don't state a height, the image will scale to a width of 200. |
Re: Category Pics not displaling in IE correctly
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. |
Re: Category Pics not displaling in IE correctly
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. |
Re: Category Pics not displaling in IE correctly
You wouldn't happen to know which template file that is in?
|
Re: Category Pics not displaling in IE correctly
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.
|
Re: Category Pics not displaling in IE correctly
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> |
Re: Category Pics not displaling in IE correctly
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 |
All times are GMT -8. The time now is 03:27 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.