Jeff Simons Decena Posted October 10, 2010 Share Posted October 10, 2010 At first I thought my website is the only one with this kind of bug. my images on new items are not displaying on IE but with FF it is ok. I kept on thinking and configuring my css codes to make it show until I try to check the demo page of prestashop. http://www.prestashop.com/demo/new-products.php If you look at it on FF it is ok but try to check it on any IE version even latest, it is not showing. So my conclusion is that it is a native bug to this version of Prestashop 1.3.2.3 - 0.230s. This is the latest I have downloaded on the download section. Can someone help me figure this thing out? Thanks! Link to comment Share on other sites More sharing options...
razaro Posted October 10, 2010 Share Posted October 10, 2010 Strange bug but it happens. Problem is that image size (homeSize variable) is not forwarded to product-list.tpl so width and height are empty. But in IE for some reason it is not width="" but width="1" ( default values I guess) so image is there but it is 1x 1 px :-)Following change should fix that.In new-products.php change $smarty->assign(array( 'products' => Product::getNewProducts(intval($cookie->id_lang), intval($p) - 1, intval($n), false, $orderBy, $orderWay), 'nbProducts' => intval($nbProducts))); to $smarty->assign(array( 'products' => Product::getNewProducts(intval($cookie->id_lang), intval($p) - 1, intval($n), false, $orderBy, $orderWay), 'homeSize' => Image::getSize('home'), 'nbProducts' => intval($nbProducts))); EDIT: This was already reported and solution is given here Link to comment Share on other sites More sharing options...
Pippo3000 Posted October 29, 2010 Share Posted October 29, 2010 Following change should fix that. It did. Thanks a lot!Phil Link to comment Share on other sites More sharing options...
tomitos Posted November 4, 2010 Share Posted November 4, 2010 Hi.Thanks razaro - it works.It has to be done also with best-sales.php, prices-drop.php...There is the same issue with Manufacturer product-list.Any idea how (where) to solve that?***************EDIThas to be done in suppliers.php***************Regards,Tomaz Link to comment Share on other sites More sharing options...
gfdesign Posted January 8, 2013 Share Posted January 8, 2013 I know it's an old topic, but it's just the only one I found. I have same problems, when I clone default theme as "default02" (or any other name), on IE9 images dissapear If I go back to original theme, images display correctly How it can be possible? Thanks in advanced 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