[-] CORE : fixed bug #PSCFV-4754 Image sizes are the same for all shops and themes

This commit is contained in:
vAugagneur committed 2012-12-18 14:59:34 +01:00
1 parent 270ae41d15
commit ef0eb49ba9
19 files changed
+80 -57

No files matched your search

@@ -120,8 +120,8 @@ class BlockBestSellers extends Module
$this->smarty->assign(array(
'best_sellers' => $best_sellers,
'mediumSize' => Image::getSize('medium_default'),
'smallSize' => Image::getSize('small_default')
'mediumSize' => Image::getSize(ImageType::getFormatedName('medium')),
'smallSize' => Image::getSize(ImageType::getFormatedName('small'))
));
return $this->display(__FILE__, 'blockbestsellers.tpl');
}
@@ -158,7 +158,7 @@ class BlockBestSellers extends Module
$this->smarty->assign(array(
'best_sellers' => $best_sellers,
'homeSize' => Image::getSize('home_default')));
'homeSize' => Image::getSize(ImageType::getFormatedName('home'))));
return $this->display(__FILE__, 'blockbestsellers-home.tpl');
}
}