// Renamed images types for the default theme (in order to avoid conflicts) #PSCFV-4242

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17474 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
sLorenzini
2012-09-21 14:59:51 +00:00
parent ae7812475e
commit 209e1821ea
574 changed files with 60 additions and 60 deletions
+4 -4
View File
@@ -322,14 +322,14 @@ class ProductControllerCore extends FrontController
}
if (!isset($cover))
$cover = array('id_image' => $this->context->language->iso_code.'-default', 'legend' => 'No picture', 'title' => 'No picture');
$size = Image::getSize('large');
$size = Image::getSize('large_default');
$this->context->smarty->assign(array(
'have_image' => Product::getCover((int)Tools::getValue('id_product')),
'cover' => $cover,
'imgWidth' => (int)$size['width'],
'mediumSize' => Image::getSize('medium'),
'largeSize' => Image::getSize('large'),
'homeSize' => Image::getSize('home'),
'mediumSize' => Image::getSize('medium_default'),
'largeSize' => Image::getSize('large_default'),
'homeSize' => Image::getSize('home_default'),
'col_img_dir' => _PS_COL_IMG_DIR_));
if (count($product_images))
$this->context->smarty->assign('images', $product_images);