boylibre Posted October 30, 2010 Share Posted October 30, 2010 When I checked, the width and height values are wrong under the img tag (They show as 1) therefore they don't appear. The list under Category works fine. Any ideas why? Is it because I changed the word Manufacturing to Brand? (I did this under Admin | Translation | Front Office & Module). I have also tried to remove what I've changed to no avail.The images appear OK when viewed with Chrome or Safari.As of now I removed this piece of code width="{$homeSize.width}" height="{$homeSize.height}" under product-list.tpl, I know it's cheating but it solved the problem so far. Would this creates another problem in the future?TIA,boy Link to comment Share on other sites More sharing options...
rocky Posted October 31, 2010 Share Posted October 31, 2010 It's a bug in PrestaShop v1.3.2 that has been fixed on SVN. You need to change lines 34-37 of supplier.php from: $smarty->assign(array( 'nb_products' => $nbProducts, 'products' => $object->getProducts($id, intval($cookie->id_lang), intval($p), intval($n), $orderBy, $orderWay), $objectType => $object)); to: $smarty->assign(array( 'nb_products' => $nbProducts, 'products' => $object->getProducts($id, intval($cookie->id_lang), intval($p), intval($n), $orderBy, $orderWay), 'homeSize' => Image::getSize('home'), $objectType => $object)); You need to do a similiar thing with new-products.php and prices-drop.php. Link to comment Share on other sites More sharing options...
boylibre Posted October 31, 2010 Author Share Posted October 31, 2010 Thanks again Rocky, one more file to be changed which is best-sales.phpboy 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