leelee23 Posted November 6, 2010 Share Posted November 6, 2010 Hi all, I've been developing primarily in Firefox and just having checked on Internet Explorer for some reason the images aren't showing in Viewed Products? <img />getImageLink($viewedProduct->link_rewrite, $viewedProduct->cover, 'small')}" height="{$smallSize.height}" width="{$smallSize.width}" alt="{$viewedProduct->legend|escape:htmlall:'UTF-8'}" is the offending code - as when I alter every instance of 'small' to be 'medium' they will once again show in Internet Explorer! I can't remember if the 'small' size is one I made via the BO or not... has anyone else had this problem and/or know how to fix this!? EDIT: Just to add to this, I also used the same technique (creating a home size) which applys to the Specials box... and again the image doesn't show in i.e. either! And to clarify... I have regrenerated thumbnails. Cheers, Lee Link to comment Share on other sites More sharing options...
leelee23 Posted November 7, 2010 Author Share Posted November 7, 2010 Any ideas anyone? I've still been unable to solve this Link to comment Share on other sites More sharing options...
leelee23 Posted November 7, 2010 Author Share Posted November 7, 2010 Solved!The problem was the coding height="{$homeSize.height}" width="{$homeSize.width}" for example was being returned in the html as height=" " and width = " " which was fine in Firefox, but Internet Explorer wasn't keen! Therefore removing this did the trick (as the images should be that size anyway!)This might only be a work around but it did the trick 1 Link to comment Share on other sites More sharing options...
newbie Posted March 9, 2011 Share Posted March 9, 2011 I would love to know if there is another solution to this problem. I am having the same issue but I don't want to remove the width and height. I created a new size that I want to use but I don't know where to assign the variable. $homeSize obviously refers to the home image size but it must be declared first. Does anyone know where I can add that declaration in order to be able to use the new image size?Thanks in advance! Link to comment Share on other sites More sharing options...
newbie Posted March 9, 2011 Share Posted March 9, 2011 I have been working on this for 2 days, I post for the first time ... and find the solution 5 minutes later :-) I should post more often!!!In case anyone else has the same problem - I created a new image size called product. I then added the following code:'productSize' => Image::getSize('product'),in the php file of category.php and this resolved the problem. I can now use width="{$productSize.width}" height="{$productSize.height} in my product-list.tpl file and my images appear in IE (8 in any case have not tested earlier browsers). Link to comment Share on other sites More sharing options...
vladyn Posted April 20, 2011 Share Posted April 20, 2011 I'm hoving same problem, But with {$smallSize.width}, which was fine in default installation and returns empty string - why is that? I though that this size was in the system before...?please help Link to comment Share on other sites More sharing options...
leelee23 Posted September 14, 2011 Author Share Posted September 14, 2011 Hi vladyn, I've just come back to this as I'm editing my shop again after the latest update - doing the trick I proposed worked fine again: http://www.prestashop.com/forums/topic/77143-images-in-internet-explorer/page__view__findpost__p__435681 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now