prestashop images not displaying in IE
This problem is specific to Prestashop version: 1.5.3.1
Change the following file /classes/ImageType.php - look at the bottom of the page
public static function getFormatedName($name)
{
$theme_name = Context::getContext()->shop->theme_name;
$name_without_theme_name = str_replace(array('_'.$theme_name, $theme_name.'_'), '', $name);
Change this to
public static function getFormatedName($name)
{
$theme_name = Context::getContext()->shop->theme_name;
$theme_name ='default';
$name_without_theme_name = str_replace(array('_'.$theme_name, $theme_name.'_'), '', $name);
Change the following file /classes/ImageType.php - look at the bottom of the page
public static function getFormatedName($name)
{
$theme_name = Context::getContext()->shop->theme_name;
$name_without_theme_name = str_replace(array('_'.$theme_name, $theme_name.'_'), '', $name);
Change this to
public static function getFormatedName($name)
{
$theme_name = Context::getContext()->shop->theme_name;
$theme_name ='default';
$name_without_theme_name = str_replace(array('_'.$theme_name, $theme_name.'_'), '', $name);
Comments